how to deploy Visual Studio Development Server with web applications - asp.net

i want to know how do i deploy ASP.NET web applications on client machines which runs with the visual studio development server rather than configure it in the IIS on the client machine?
I know its possible and telerik also uses this approach.
any help would be appreciated
thanks in advance

Deploy ASP.NET Application with WebServer

Related

Why shouldn't I use IIS Express for ASP.Net Core development?

It seems that .net core needs to be published to run on IIS which means it's either impossible or impractical to debug through IIS, but it's fine with IIS Express. My more experienced colleagues insist that we should do all development with IIS and never IIS Express which is, in effect, saying we should not touch .Net Core.
1) How likely am I to find that the app which works on IIS Express doesn't work on IIS?
2) What's the best way to mitigate the downsides?
3) What should I tell my boss? (I really want to keep working with core)
There is no reason not to debug using IIS Express. You can verify that your deployment works on IIS by publishing to a staging environment or even a local IIS instance.
That being said, it is possible to debug IIS locally by using Attach to Process in Visual Studio if your coworkers simply refuse to use IIS Express.
Its a big difference between iis express and iis(server). on iis server you need to configure first the iis itself. register asp.net, set up .net framework,set up config file and so on..
But this would be a good practice for the developer, iis server deployment process. is a must.
Hope it helps your idea..
When working with ASP.NET Core & Visual Studio IDE, its better to use IIS Express (kestrel internally) for following reasons
Kestrel is a light weight web server built for ASP.NET Core apps. IIS Express will make use of it while development & debugging.
Hosting IIS for ASP.NET Core apps is for providing load balancing, SSL, gzip etc. So even if you host on IIS, then its fine but development experience will be less productive.
ASP.NET Core apps are cross platform so you can work on Windows, Linux & MacOS. With IIS your are limiting to Windows only
Core apps are not like traditional ASP.NET MVC 5 or Web form apps. They have being made easy for development experience.
I would suggest that think of IIS only during deploying Core apps for QA, UAT or PROD. For development need not host on IIS. Hope this helps

Want to Publish and deploy a web service in my local machine with out using IIS

My Web Service link:
http://localhost:55004/WCFService2/WebService.asmx
Please how to do this with out IIS.
I am using Visual studio 2012 express edition and I dont have "Publish Website" option in build.
I am new to .net and webservices...Please tell me is there any possibility to do this?
here try this one it may help
"http://ransandeep.blogspot.in/2011/03/publish-webservice-locally-without-iis.html"
Web services cannot be deployed without the use of hosting applications such as IIS.
However if you are using WCF, It can be hosted in following ways.
Self Host
IIS hosting
Windows service
WAS
You can pick any suitable hosting method based on your requirements.
There are many tutorials available on the net that provides you with step-by-step process with graphical example regarding this.

Compiling an ASP .NET website into an executable (with server)

I remember many years ago using a program that would allow Classic ASP websites to be compiled into an .EXE and run as if they were under IIS. I used this program to create an interactive CD-ROM. Things like Request.QueryString() etc all worked as expected.
Does anyone know of a similar program that will do this for ASP.NET?
Thanks
UltiDev Web Server Pro. Its a free redistributable web server but requires it to be installed in the client machine.
http://ultidev.com/Forums/yaf_postsm2832_UWS-Screenshots.aspx#post2832
Microsoft calls it Hosted Web Core Applications :
"Hosted Web Core is a new feature in IIS 7 that enables developers to create applications that load the core IIS functionality. Applications that load the Hosted Web Core use a separate configuration file from IIS, and this feature enables software developers to customize the functionality for their applications. For example, you can write an application that uses the Hosted Web Core functionality to serve Web pages and applications from a Web site that is separate from the Web sites that are hosted by IIS on the same server. When the World Wide Web Publishing Service (WWW service) for IIS is recycled, your application will continue to serve Web pages to Web clients."
Not exactly, but you can pre-compile your application and ship it with IIS Express. But this won't be a single executable.

Debug on IIS instead of WebDev server

I am developing a web application. My code worked fine on the WebDev server in VS2010. Then, I hosted it on remote IIS, because my windows 7 home basic doesn't have IIS, and almost all code fails. So I had to rewrite it using helpers for links, ResolveUrl and many other functions.
How can I host an application while debugging on remote IIS (not on WebDev or local IIS) automatically?
You can install IIS Express. IIS express is more mature in terms of emulating real IIS 7. For more information on IIS express refer this link. HTH
You might consider developing you application using MebMatrix, which is a free development environment that includes IIS Express. It's easy to learn and doesn't require Visual Studio.

Is there any IIS equivalent to Tomcat?

I want to test ASP.NET applications to get the feel for the MVC extension and compare that to what I can do today with Grails or Rails.
The trouble is that being in a corporate environment, I can't install IIS on my workstation, neither on my DEV server. And - you guessed it - Visual Studio is not to be considered at that moment (I guess for my investigations I'll stick with SharpDevelop and the .NET SDK for the time being).
On the Java side, I could unzip some Tomcat distribution in any folder and hit go.
Is there any equivalent in the IIS world, like a lightweight ASP.NET host?
Thanks,
Rollo
UltiDev Cassini Web Server
cassini runs locally. I'll get a link..
Edit: Here's the link to the Cassini Web Server
UltiDev recently started shipping test builds of the Cassini replacement - UltiDev Web Server Pro. It requires elevated/admin privileges to be installed, but it can be downloaded for free. It's quite advanced, it's closer to IIS than Cassini. See screenshots.

Resources