473,748 Members | 10,048 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2043
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******** ******@TK2MSFTN GP10.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******** ******@TK2MSFTN GP10.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 "interprete r" 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******** *****@TK2MSFTNG P09.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 "interprete r" 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******** *****@TK2MSFTNG P09.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**********@f mr.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 "interprete r" 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

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

Similar topics

3
1587
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? Scenario: Our network folks don't want us installing IIS on all of our machines. ASP.NET requires IIS to be installed. Does IIS need to be on the developing machine? We are currently getting the error "Visual Studio .NET has detected
1
1292
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 ... using the OBJECT tag and CLASSID all works fine when I upload it to a webserver... but trying to run it locally without IIS the object till not execute (why should I use IIS btw when it's 100% clientcode?) I've read that CLASSID only support...
8
1538
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 thinking of? Any given points of direction would be greatly appreciated. Regards
4
1310
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; WIDTH: 328px; POSITION: absolute; TOP: 308px; HEIGHT: 184px' classid='clsid:988B1FEA-AA93-4FAD-B354-E97543C4ABB8'> <PARAM NAME='_ExtentX' VALUE='8678'> <PARAM NAME='_ExtentY' VALUE='4868'>
9
1776
by: André | last post by:
Hi, Is it possible to create directories and files with asp.net? Thanks André
14
4476
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 PHP 5 onto my laptop as well as MYSQL and practice learning it with coding and scripts, etc.? I don't have another machine to install Apache or IIS. Thanks.
0
1309
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 that data locally to a SQL 2005 Express instance. On the computer I'm developing on I'd like to have an instance of both MSDE and SQL 2005 Express running so I can replicate the network as close to possible while writing code. Alternatively I...
5
8570
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 web server is running properly, but whenever I try to open a PHP file (for instance, by opening http://localhost, which should take me to the XAMPP start/ admin page, index.php), my browsers are unable to run it, and only
2
1367
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#, both give an error "Invalid object name 'xxx'" where 'xxx' is the name of the table I specify in my query. Since I'm just using a DSN, my connection string is fairly simple: "DSN=myDSN;Uid=myUID;pwd=myPWD"If I alter the UID or PWD to someting...
0
8989
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9367
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9319
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6073
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4599
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4869
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3309
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2213
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.