Click here to Skip to main content
15,888,113 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionDisplay data of User Control from another user control button click Pin
SatyaKeerthi1516-Jul-10 3:00
SatyaKeerthi1516-Jul-10 3:00 
AnswerRe: Display data of User Control from another user control button click Pin
Peace ON16-Jul-10 3:03
Peace ON16-Jul-10 3:03 
AnswerRe: Display data of User Control from another user control button click Pin
T M Gray16-Jul-10 9:04
T M Gray16-Jul-10 9:04 
QuestionEntity Framework Pin
future383916-Jul-10 1:14
future383916-Jul-10 1:14 
AnswerRe: Entity Framework Pin
Peace ON16-Jul-10 1:28
Peace ON16-Jul-10 1:28 
Questionpaging without sqlDataSource control.. Pin
dittu715-Jul-10 19:18
dittu715-Jul-10 19:18 
AnswerRe: paging without sqlDataSource control.. Pin
Peace ON15-Jul-10 19:23
Peace ON15-Jul-10 19:23 
QuestionHow to create a web application project in the local IIS [SOLVED] Pin
fjparisIII15-Jul-10 15:05
fjparisIII15-Jul-10 15:05 
I'm using VS2010 and I can't figure out how to create a Web application project in the local IIS. I only seem to be able to do one of two things:

1. Create a Web Site project in the local IIS. I do this by choosing File>New>Web Site>ASP.NET Web Site with Web location set to File System. Then I click Browse and choose Local IIS.

2. Create a Web Application project in the local file system (not in the local IIS). I do this by choosing File>New>Project>ASP.NET Web Application. No option is provided to use the local IIS, only the local file system. It doesn't do any good to put the project in c:\inetpub\wwwroot\. I still wind up with a location like http://localhost:50758/[^]indicating that I'm using the Web server built into Visual Studio, not my local IIS.

Hopefully there's some additional configuration option I must set in IIS to recognize the location of the project in localhost.

Solution added Friday, July 16, 2010 2:25 PM PST: I had the solution to this problem in my back pocket all the time without realizing it. The first experimental ASP.NET project I ever started (to help me wade into the Wrox book, Professional ASP.NET 4 in C#) accomplished precisely what I was after, but I forgot what I did. After wading through responses I got in this thread (that did not provide the answer) I dug into my project settings and discovered the trick: Within Project>WebApplicationProject Properties on the Web tab, choose the Use Local IIS Web Server option. Then just Create Virtual Directory. Honestly, that's all there is to it.

Oh, yes. You also originally create the project as described above in my #2 item, precisely the option that the Wrox book, Beginning ASP.NET 4 in C# on page 38 warns you against making the "mistake" of choosing because it "is not compatible with the exercises in this book." But I'll bet you I can figure out how to transfer what I learn from this book to a Web Application project that does run under the local IIS. So now I wind up with a location for my Website like http://localhost/PPT/Customers.aspx[^].

modified on Friday, July 16, 2010 5:43 PM

AnswerRe: How to create a web application project in the local IIS Pin
Not Active15-Jul-10 18:43
mentorNot Active15-Jul-10 18:43 
GeneralRe: How to create a web application project in the local IIS Pin
fjparisIII16-Jul-10 5:34
fjparisIII16-Jul-10 5:34 
GeneralRe: How to create a web application project in the local IIS Pin
Not Active16-Jul-10 5:59
mentorNot Active16-Jul-10 5:59 
GeneralRe: How to create a web application project in the local IIS Pin
fjparisIII16-Jul-10 7:29
fjparisIII16-Jul-10 7:29 
AnswerRe: How to create a web application project in the local IIS Pin
Abhijit Jana15-Jul-10 19:21
professionalAbhijit Jana15-Jul-10 19:21 
GeneralRe: How to create a web application project in the local IIS Pin
fjparisIII16-Jul-10 11:25
fjparisIII16-Jul-10 11:25 
QuestionAuto Ellipses Label in ASP.Net Pin
PDTUM15-Jul-10 8:34
PDTUM15-Jul-10 8:34 
AnswerRe: Auto Ellipses Label in ASP.Net Pin
NeverHeardOfMe15-Jul-10 8:58
NeverHeardOfMe15-Jul-10 8:58 
AnswerRe: Auto Ellipses Label in ASP.Net Pin
PDTUM15-Jul-10 10:57
PDTUM15-Jul-10 10:57 
GeneralRe: Auto Ellipses Label in ASP.Net Pin
Not Active15-Jul-10 14:08
mentorNot Active15-Jul-10 14:08 
QuestionNeed to remove empty space from GridView due to hidden columns Pin
Adam Brown 315-Jul-10 5:43
Adam Brown 315-Jul-10 5:43 
AnswerRe: Need to remove empty space from GridView due to hidden columns Pin
thatraja15-Jul-10 8:20
professionalthatraja15-Jul-10 8:20 
GeneralRe: Need to remove empty space from GridView due to hidden columns Pin
Adam Brown 316-Jul-10 3:49
Adam Brown 316-Jul-10 3:49 
GeneralJavaScript action result no longer working after converting to partial view. Pin
Brady Kelly15-Jul-10 5:00
Brady Kelly15-Jul-10 5:00 
QuestionHow to dynamically create an Excelworkbook with two sheets Pin
antony beula15-Jul-10 3:12
antony beula15-Jul-10 3:12 
AnswerRe: How to dynamically create an Excelworkbook with two sheets Pin
Peace ON15-Jul-10 4:05
Peace ON15-Jul-10 4:05 
QuestionUpload And Crop Image in asp.net Pin
ShafiqA15-Jul-10 3:11
ShafiqA15-Jul-10 3:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.