TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
vadivel n
NA
4
4.2k
Run the web project automatically in browser after deployed the project in IIS Express
Aug 27 2012 2:20 PM
i have deployed a web project in IIS Express using the below coding.
Process process;
IISExpress(string args)
{
this.process = new Process();
ProcessStartInfo psi = new ProcessStartInfo();
psi.FileName = @"C:\Program Files (x86)\IIS Express\iisexpress";
psi.Arguments = args;
psi.UseShellExecute = false;
psi.RedirectStandardOutput = true;
process.StartInfo = psi;
process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
process.StartInfo.CreateNoWindow = true;
process.Start();
}
public static IISExpress Start(string args)
{
return new IISExpress(args);
}
After deployment of my project in IIS Express, i want to run the project in the browser using the link generated in IIS Express(say http://localhost:13356) using c# coding. i have tried the following code. but no use.
IISExpress sample = IISExpress.Start("/bindings.[protocol='http',bindingInformation='*:8063:localhost'] ");
How to run the samples in browser using IIS Express(in c# code only not by manually click the link in the system tray).
Also, i can able to run the samples in browser even after close the visual studio.
can any one help on this.
Reply
Answers (
0
)
Doubt
Using store Procedure how to save the record in database in aso.net charp code.