473,320 Members | 1,987 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

NOT possible running .NET code locally in IE????

I have almost exactly the same problem as the guy below.
Is it NOT possible running .NET code locally in Internet Explorer WITHOUT a
webserver????
/ Tobias

---------

My company has in the past created local browser applications with front end
in HTML/JavaScript and backend in the form of a Java applet. The applet code
contained the business code and calculations. Benefit of this approach is
that we could distribute the entire app on a CDROM.

As you might guess, I am looking for the .NET way of this scenario. I have
read about User Controls in IE and about several deployment methods.
However, deployment from the web is no option because of CDROM deployment
restriction.

Can anybody shed some light on how to accomplish a pure local browser app
using .NET code?

Best regards,
Neeva
Jul 21 '05 #1
10 1994
Hi

Try webmatrix is a community-supported, easy-to-use WYSIWYG application development tool for ASP.NET.
http://www.asp.net/webmatrix/default...dex=4&tabId=46

You can develop and test your ASP.NET applications, without requiring IIS. Web Matrix includes a lightweight personal web server that serves most web content, including ASP.NET pages and XML Web Services, for local requests

HTH
Ravikanth[MVP]
Jul 21 '05 #2
Hi

Try webmatrix is a community-supported, easy-to-use WYSIWYG application development tool for ASP.NET.
http://www.asp.net/webmatrix/default...dex=4&tabId=46

You can develop and test your ASP.NET applications, without requiring IIS. Web Matrix includes a lightweight personal web server that serves most web content, including ASP.NET pages and XML Web Services, for local requests

HTH
Ravikanth[MVP]
Jul 21 '05 #3
Nope not possible. It comes down to server side versus client side code execution. HTML and Java both execute locally within the webbrowser, due to the existence of a JVM( Java Virtual Machine ) being installed. .NET as well as alot of J2EE are server side execution, this actually makes for more secure applications and better processing times for large Enterprise applications. Also, it is self defeating to require all clients of your application to distribute the .NET framework across their enterprise when it is simpler to have it reside in only one place, which would be the enteprise web server.

There are many periodicals and books published on the subject. Both Microsoft and Sun have a large amount of free information on their technologies free and online at their perspective sites.

Hope this helps.

-Evan
"Tobias Nilsson" <pu****@turismo.se> wrote in message news:eP**************@TK2MSFTNGP10.phx.gbl...
I have almost exactly the same problem as the guy below.
Is it NOT possible running .NET code locally in Internet Explorer WITHOUT a
webserver????
/ Tobias

---------

My company has in the past created local browser applications with front end
in HTML/JavaScript and backend in the form of a Java applet. The applet code
contained the business code and calculations. Benefit of this approach is
that we could distribute the entire app on a CDROM.

As you might guess, I am looking for the .NET way of this scenario. I have
read about User Controls in IE and about several deployment methods.
However, deployment from the web is no option because of CDROM deployment
restriction.

Can anybody shed some light on how to accomplish a pure local browser app
using .NET code?

Best regards,
Neeva

Jul 21 '05 #4
Nope not possible. It comes down to server side versus client side code execution. HTML and Java both execute locally within the webbrowser, due to the existence of a JVM( Java Virtual Machine ) being installed. .NET as well as alot of J2EE are server side execution, this actually makes for more secure applications and better processing times for large Enterprise applications. Also, it is self defeating to require all clients of your application to distribute the .NET framework across their enterprise when it is simpler to have it reside in only one place, which would be the enteprise web server.

There are many periodicals and books published on the subject. Both Microsoft and Sun have a large amount of free information on their technologies free and online at their perspective sites.

Hope this helps.

-Evan
"Tobias Nilsson" <pu****@turismo.se> wrote in message news:eP**************@TK2MSFTNGP10.phx.gbl...
I have almost exactly the same problem as the guy below.
Is it NOT possible running .NET code locally in Internet Explorer WITHOUT a
webserver????
/ Tobias

---------

My company has in the past created local browser applications with front end
in HTML/JavaScript and backend in the form of a Java applet. The applet code
contained the business code and calculations. Benefit of this approach is
that we could distribute the entire app on a CDROM.

As you might guess, I am looking for the .NET way of this scenario. I have
read about User Controls in IE and about several deployment methods.
However, deployment from the web is no option because of CDROM deployment
restriction.

Can anybody shed some light on how to accomplish a pure local browser app
using .NET code?

Best regards,
Neeva

Jul 21 '05 #5
Thanks for the answers!

Well, if I get this right I cannot put the files on the company fileserver on our intranet so the clients can execute the html file (including the .net code) from there?? I MUST put up a webserver for this simply thing?

But if instead of compiling it to a .dll file I could compile it to an ..exe file (not using a html page to start it) and it will just run fine locally... well, there seems not be any logic... I could run an .net exe file locally without problems... but trying to implement it to a html page locally it will not run...

I guess I'm just used to have java applets running anywhere (with or without a webserver) and I was hoping that .net could do the same... maybe the J# with the .net runtime plugin for IE will do? But J# seems to be lacking some of the C# design tools so it will not be an option?

So I really have to stick to Java to make things run locally on a webpage on the fileserver?
(I'm using some realtime 3D graphics client code so it MUST be calculated and drawn on the client machine to be fast enough - and I would like it to be dist. using simply filestructures and not a http connection)

Thanks anyway!
Tobias

Jul 21 '05 #6
Thanks for the answers!

Well, if I get this right I cannot put the files on the company fileserver on our intranet so the clients can execute the html file (including the .net code) from there?? I MUST put up a webserver for this simply thing?

But if instead of compiling it to a .dll file I could compile it to an ..exe file (not using a html page to start it) and it will just run fine locally... well, there seems not be any logic... I could run an .net exe file locally without problems... but trying to implement it to a html page locally it will not run...

I guess I'm just used to have java applets running anywhere (with or without a webserver) and I was hoping that .net could do the same... maybe the J# with the .net runtime plugin for IE will do? But J# seems to be lacking some of the C# design tools so it will not be an option?

So I really have to stick to Java to make things run locally on a webpage on the fileserver?
(I'm using some realtime 3D graphics client code so it MUST be calculated and drawn on the client machine to be fast enough - and I would like it to be dist. using simply filestructures and not a http connection)

Thanks anyway!
Tobias

Jul 21 '05 #7
"But if instead of compiling it to a .dll file I could compile it to an ..exe file (not using a html page to start it) and it will just run fine locally"

This is untrue. You will need the .NET framework installed to run local managed applications, written in the .NET managed environment anyhow. I find the application you are discussing to be an anomaly in the sense that it sounds as though it should be a local application. But, rather you take a thin client approach to it, also claiming that it is a simple thing, yet you say you are drawing 3d graphics, which is a contradiction.

Additionally j# requires the .NET Framework and, though I have yet to try it, I believe it also is server side executed.

The issue is that you are relying on outdated technologies to develop your application, and in the long run these technologies will be "going away." So, it would make sense to look for a scalable solution now rather than later. Whether it be .NET, J2EE or some other technology. Now I'm not saying that the "interpreter" for java script is going anywhere, but it is very visible that the JVM will be going away in the near future, as the original "sandbox" security model has proven to be very flawed.

-Enjoy!!

-Evan

"Tobias Nilsson" <pu****@turismo.se> wrote in message news:uE*************@TK2MSFTNGP09.phx.gbl...
Thanks for the answers!

Well, if I get this right I cannot put the files on the company fileserver on our intranet so the clients can execute the html file (including the .net code) from there?? I MUST put up a webserver for this simply thing?

But if instead of compiling it to a .dll file I could compile it to an ..exe file (not using a html page to start it) and it will just run fine locally... well, there seems not be any logic... I could run an .net exe file locally without problems... but trying to implement it to a html page locally it will not run...

I guess I'm just used to have java applets running anywhere (with or without a webserver) and I was hoping that .net could do the same... maybe the J# with the .net runtime plugin for IE will do? But J# seems to be lacking some of the C# design tools so it will not be an option?

So I really have to stick to Java to make things run locally on a webpage on the fileserver?
(I'm using some realtime 3D graphics client code so it MUST be calculated and drawn on the client machine to be fast enough - and I would like it to be dist. using simply filestructures and not a http connection)

Thanks anyway!
Tobias

Jul 21 '05 #8
"But if instead of compiling it to a .dll file I could compile it to an ..exe file (not using a html page to start it) and it will just run fine locally"

This is untrue. You will need the .NET framework installed to run local managed applications, written in the .NET managed environment anyhow. I find the application you are discussing to be an anomaly in the sense that it sounds as though it should be a local application. But, rather you take a thin client approach to it, also claiming that it is a simple thing, yet you say you are drawing 3d graphics, which is a contradiction.

Additionally j# requires the .NET Framework and, though I have yet to try it, I believe it also is server side executed.

The issue is that you are relying on outdated technologies to develop your application, and in the long run these technologies will be "going away." So, it would make sense to look for a scalable solution now rather than later. Whether it be .NET, J2EE or some other technology. Now I'm not saying that the "interpreter" for java script is going anywhere, but it is very visible that the JVM will be going away in the near future, as the original "sandbox" security model has proven to be very flawed.

-Enjoy!!

-Evan

"Tobias Nilsson" <pu****@turismo.se> wrote in message news:uE*************@TK2MSFTNGP09.phx.gbl...
Thanks for the answers!

Well, if I get this right I cannot put the files on the company fileserver on our intranet so the clients can execute the html file (including the .net code) from there?? I MUST put up a webserver for this simply thing?

But if instead of compiling it to a .dll file I could compile it to an ..exe file (not using a html page to start it) and it will just run fine locally... well, there seems not be any logic... I could run an .net exe file locally without problems... but trying to implement it to a html page locally it will not run...

I guess I'm just used to have java applets running anywhere (with or without a webserver) and I was hoping that .net could do the same... maybe the J# with the .net runtime plugin for IE will do? But J# seems to be lacking some of the C# design tools so it will not be an option?

So I really have to stick to Java to make things run locally on a webpage on the fileserver?
(I'm using some realtime 3D graphics client code so it MUST be calculated and drawn on the client machine to be fast enough - and I would like it to be dist. using simply filestructures and not a http connection)

Thanks anyway!
Tobias

Jul 21 '05 #9
Evan, thanks for the answer, I appreciate it!

Sorry for not beeing clear enough - ofcourse the .NET framework will be necessary for the client machines... and in a closed environment like an corporate intranet there is no problems doing that...

It's not a local application in the sense that it's on our fileserver and not a webserver... I would liked to start with to have the choice to store it wherever I want using a protocol other than http... but all the time it's simple scalable to http... (for future use if it demands it)... and at the same time I'm not forcing the use of a webserver within the corporate intranet just to make it execute when doing 100% client code!

Yes, it's a thin client deployment model but it's NOT a thin client execution model. (Because of the realtime graphics used.)

Maybe I will make it an exe .NET file instead of the html page approach... and when it's time to make it demanding the http protocal I will recompile it to a dll and use the object tag to integrate it to a webpage... but I really would like to skip the exe step and go for the more flexible html approach directly... (to mix both client object dll's, html, and client side scripting - very powerful and flexible when doing more realtime applications... "slow" server side services is not an option!)

Best regards,
Tobias


"Evan Freeman[C++ Samuri]" <Ev**********@fmr.com> skrev i meddelandet news:wh**************@news-srv1.fmr.com...
"But if instead of compiling it to a .dll file I could compile it to an .exe file (not using a html page to start it) and it will just run fine locally"

This is untrue. You will need the .NET framework installed to run local managed applications, written in the .NET managed environment anyhow. I find the application you are discussing to be an anomaly in the sense that it sounds as though it should be a local application. But, rather you take a thin client approach to it, also claiming that it is a simple thing, yet you say you are drawing 3d graphics, which is a contradiction.

Additionally j# requires the .NET Framework and, though I have yet to try it, I believe it also is server side executed.

The issue is that you are relying on outdated technologies to develop your application, and in the long run these technologies will be "going away." So, it would make sense to look for a scalable solution now rather than later. Whether it be .NET, J2EE or some other technology. Now I'm not saying that the "interpreter" for java script is going anywhere, but it is very visible that the JVM will be going away in the near future, as the original "sandbox" security model has proven to be very flawed.

-Enjoy!!

-Evan
Jul 21 '05 #10
Evan, thanks for the answer, I appreciate it!

Sorry for not beeing clear enough - ofcourse the .NET framework will be necessary for the client machines... and in a closed environment like an corporate intranet there is no problems doing that...

It's not a local application in the sense that it's on our fileserver and not a webserver... I would liked to start with to have the choice to store it wherever I want using a protocol other than http... but all the time it's simple scalable to http... (for future use if it demands it)... and at the same time I'm not forcing the use of a webserver within the corporate intranet just to make it execute when doing 100% client code!

Yes, it's a thin client deployment model but it's NOT a thin client execution model. (Because of the realtime graphics used.)

Maybe I will make it an exe .NET file instead of the html page approach... and when it's time to make it demanding the http protocal I will recompile it to a dll and use the object tag to integrate it to a webpage... but I really would like to skip the exe step and go for the more flexible html approach directly... (to mix both client object dll's, html, and client side scripting - very powerful and flexible when doing more realtime applications... "slow" server side services is not an option!)

Best regards,
Tobias


"Evan Freeman[C++ Samuri]" <Ev**********@fmr.com> skrev i meddelandet news:wh**************@news-srv1.fmr.com...
"But if instead of compiling it to a .dll file I could compile it to an .exe file (not using a html page to start it) and it will just run fine locally"

This is untrue. You will need the .NET framework installed to run local managed applications, written in the .NET managed environment anyhow. I find the application you are discussing to be an anomaly in the sense that it sounds as though it should be a local application. But, rather you take a thin client approach to it, also claiming that it is a simple thing, yet you say you are drawing 3d graphics, which is a contradiction.

Additionally j# requires the .NET Framework and, though I have yet to try it, I believe it also is server side executed.

The issue is that you are relying on outdated technologies to develop your application, and in the long run these technologies will be "going away." So, it would make sense to look for a scalable solution now rather than later. Whether it be .NET, J2EE or some other technology. Now I'm not saying that the "interpreter" for java script is going anywhere, but it is very visible that the JVM will be going away in the near future, as the original "sandbox" security model has proven to be very flawed.

-Enjoy!!

-Evan
Jul 21 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Scott | last post by:
I have been told that the only way to develop an ASP.NET application is to do it on the localhost, and then just copy the files out to the web server that will be hosting. Is this true? ...
1
by: Tobias Nilsson | last post by:
I have almost exactly the same problem as the guy below. Is it NOT possible running .NET code locally in Internet Explorer WITHOUT a webserver???? I've done some C# code and compiled to a .dll...
8
by: Visual Systems AB \(Martin Arvidsson\) | last post by:
Hi! I am trying to send a Mail using SmtpClient on my developer computer. Is it not possible? Do i have to use it on a computer with IIS installed? If it is possible, what should i be...
4
by: Andrew | last post by:
Hello, friends, this has driven us nuts! We created a COM component using VB 6.0. This component was put in a .aspx page (v1.1) like the follows: <object style='Z-INDEX: 129; LEFT: 172px;...
9
by: André | last post by:
Hi, Is it possible to create directories and files with asp.net? Thanks André
14
by: luvtopost | last post by:
I am trying to learn PHP and was reading the book by Laura Welling and Luke Thompson. Obviously, PHP is already installed on a server when hosted by an ISP already. Is there a way to just download...
0
bergy
by: bergy | last post by:
Just wondering if this is possible, I'm coding this application that will run on a network with a SQL Server 2000, however each workstation (notebook computers in this case) will need to copy some of...
5
by: r.g. | last post by:
Hello, Recently, my PHP (5, as installed by the XAMPP package) stopped working, and won't let me run locally-served PHP files in my web browsers. I think (but I'm not sure) that the Apache...
2
jhardman
by: jhardman | last post by:
I keep getting connection errors that appear to me to relate to user permissions. I tried connecting with DSN from both a classic ASP page using VBScript, and from a .NET web service using C#,...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.