Re: Disecting Visual Studio Output Modules and Asp.net

  • From: "Punit Diwan" <punitdiwan@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Sun, 2 Mar 2008 08:59:14 -0500

Richard,
    I would like to suggest that, you create a standard web project with 
HTTP Server Option Instead of File System Option. On a Page, place a button 
with the Text Property "Test". On the Click event change its Property to 
"Tested" or some thing different.
    Run this application and Click the button Event to invoke Click Event.
    Now Go to IIS MMC by the way I suggested and look into the Virtual 
Directory.  It should be same as the Solution Name. Look into the Files 
inside it.  It  wll clear the whole process and you will know what files are 
actually required to execute web pages.
Hope this Helps
Regards
Punit Diwan
----- Original Message ----- 
From: "Richard Thomas" <rthomas@xxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Sunday, March 02, 2008 6:04 AM
Subject: Re: Disecting Visual Studio Output Modules and Asp.net


    Hi Niran:
Can I just copy the WebSite into IIS? For example:
I build a WebSite in VS on my Development computer.  Then I FTP it to
another computer. Then cut it into the Pub Root, under a Virtual Directory
and let IIS compile and run it.
I know I might be able to just either develop in VS pointing to the IIS Pub
Directory file or use the VS Publish feature to auto-magically load the site
but I wan't to understand the nuts and bolts of deployment somewhat.In
othere words, what gets deployed and where are the various code and
auto-generated code loaded in the target WebSite's structure. One question
will be what to FTP to put my site in IIS. Do I copy the Project file, the
SLN file or what to get all the necessary code and references to cut and
paste into the IIS Virtual Directory to have IIS compile and make the site
available.
Rick USA

----- Original Message ----- 
From: "public.niran" <public.niran@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Friday, February 29, 2008 8:31 AM
Subject: Re: Disecting Visual Studio Output Modules and Asp.net


> Hi,
> You can just create a new website in VS and save it under in IIS virtual
> directory. If I remember correctly, while creating a new website, you can
> specify the location of the site as  a IIS virtual directory. If so, vs
> would create the virtual directory for you. I have not used that feature
> yet so can't say for sure.
>
> Are you installing the express version of vs2008 or the standard/pro? If
> your not installing the express version, I think the setup will also
> contain the required sdks. Anyway, I don't think the .net 2.0 sdk is a
> requirement for developing .net applications. So a install without the sdk
> should also work.
>
> HTH,
> Niran = Nirandas
> ----- Original Message ----- 
> From: "Richard Thomas" <rthomas@xxxxxxxxxxx>
> To: <programmingblind@xxxxxxxxxxxxx>
> Sent: Friday, February 29, 2008 6:32 PM
> Subject: Re: Disecting Visual Studio Output Modules and Asp.net
>
>
>> Thanks Niran.
>> I am struggling to decide whether to load up 2008 sdks and runtimes
>> individually or just load up VS 2008, Sql Server 2008  and then mess with
>> the SDKs if they do not get loaded.
>> I would like to pull the code out of VS in it's text format and group it
>> in appropriate folders in IIS after I get a clean compile in VS.  This
>> way I can know exactly what is in the WebSite and where everything is
>> located in IIS. VS AutoMagically generates allot of things when it runs a
>> test compile so I've been trying to find out what I would need from the
>> VS Project or Solution to have it compile in IIS as a stand-alone Asp.net
>> / Ado.net set of files and folders. Googling It seems to be getting
>> pretty complicated. And, I've not found much about doing that.  That's
>> why I will want the SDK, or SDKs if they are not all included in the .net
>> framework SDK, couldn't even find that out yet, sigh.
>> Rick USA
>>
>>
>> ----- Original Message ----- 
>> From: "public.niran" <public.niran@xxxxxxxxx>
>> To: <programmingblind@xxxxxxxxxxxxx>
>> Sent: Friday, February 29, 2008 6:16 AM
>> Subject: Re: Disecting Visual Studio Output Modules and Asp.net
>>
>>
>>> As Punit said, if you installed IIS before installing VS, the VS
>>> installation should configure IIS for asp.net.
>>> If you are not using vs, the simple way to check for errors is by
>>> visiting the .aspx page. Then asp.net will compile the page if not yet
>>> compiled and show the errors if any.
>>>
>>> The database generally is placed outside of website but with SQLServer
>>> 2005 you can optionally place the database files under app_data folder
>>> of an asp.net application.
>>>
>>> To start a new asp.net application in IIS,
>>> 1. Create a virtual directory in IIS and make it an application by
>>> right-clicking it and pressing create button from the properties window.
>>> 2. Create your .aspx pages and other code-behind files under newly
>>> created virtual directory.
>>> 3. Use IE to visit the new pages and see if any errors are there or not.
>>>
>>> If you can get here then most of the basic things are correctly setup
>>> and working properly.
>>>
>>> Good luck,
>>> Niran
>>> ----- Original Message ----- 
>>> From: "Richard Thomas" <rthomas@xxxxxxxxxxx>
>>> To: <programmingblind@xxxxxxxxxxxxx>
>>> Sent: Friday, February 29, 2008 2:16 PM
>>> Subject: Re: Disecting Visual Studio Output Modules and Asp.net
>>>
>>>
>>>>I have IIS setup.  Did not know about enabling .net but will read.
>>>> I will pull code from VS Auto
>>>> Generated and my own modules. I want to learn what the structure of a
>>>> WebSite in IIS is. Where do things like the CodeBehind modules,
>>>> Resource Files (Likely Import Declaritivs), GAK?, Assembly and Manefest
>>>> and how does the DataBase sit, inside IIS or Outside?
>>>> What is inside the various modules, I know the codeBehind but not the
>>>> others very well.
>>>> I will be doing some coding by hand and generating code from inside VS
>>>> to cut and paste into the hand written app.
>>>> Finally, after coding an app by hand, how do you test and get error
>>>> messages?  VS does that now and in the old days we used a compiler.
>>>> Any suggestions?
>>>> Rick USA
>>>> ----- Original Message ----- 
>>>> From: "public.niran" <public.niran@xxxxxxxxx>
>>>> To: <programmingblind@xxxxxxxxxxxxx>
>>>> Sent: Thursday, February 28, 2008 10:56 PM
>>>> Subject: Re: Disecting Visual Studio Output Modules and Asp.net
>>>>
>>>>
>>>>> If you have iis setup and has enabled .net 2.0 for iis, you shouldn't
>>>>> need any thing other than notepad to develop asp.net sites.
>>>>> All the assemblies required for asp.net are installed with .net 2.0.
>>>>> There is no need to download anything else for ado.net or vb.net to
>>>>> work.
>>>>> Don't know much about the resource files, since you are going to
>>>>> install vs2008, you can use that to create resource files etc.
>>>>> I still thing you should use vs because it would save a lot of time
>>>>> with it's code completion feature.
>>>>> You can still write asp.net tags and learn with vs and not do drag and
>>>>> drop development.
>>>>> Deploying asp.net sites is mostly copying files to iis, does not make
>>>>> any difference if you are using vs or notepad. Yes you can compile and
>>>>> turn your site into assemblies with vs and deploy them  rather than
>>>>> copying pure code files.
>>>>>
>>>>> HTH,
>>>>> Niran
>>>>> ----- Original Message ----- 
>>>>> From: "Richard Thomas" <rthomas@xxxxxxxxxxx>
>>>>> To: <programmingblind@xxxxxxxxxxxxx>
>>>>> Sent: Friday, February 29, 2008 2:29 AM
>>>>> Subject: Disecting Visual Studio Output Modules and Asp.net
>>>>>
>>>>>
>>>>> Hi Guys:
>>>>> Just reading up on Asp.net. I would like to build some WebSites using
>>>>> Asp.net and NotePad, or some Asp.net friendly text editor, rather than
>>>>> Visual Studio.
>>>>> Will I need to download Ado.net and a vb.net Editor / compiler along
>>>>> with Asp.net?
>>>>> Does Asp.net use assemblies and manifests and what about resource
>>>>> files and CodeBehind or Business Objects?
>>>>> Finally, I will download Visual Studio Pro 2008.  Anyone loaded VS
>>>>> over the SDKs, or the other way around?
>>>>> I would like to be able take the VS Generated code and build standard
>>>>> Asp.net pages and code or resource directories much like they do in
>>>>> PHP ApacheMySql  HTML environment and copy them directly into my brand
>>>>> new shiny IIS..
>>>>> Any good books or tutorials?
>>>>> There is one example on the GrabBag if I remember.  This seems the
>>>>> only way to learn in-depth Asp.net programming instead of drag, drop
>>>>> and pray.
>>>>> Thanks:
>>>>> Rick USA
>>>>> __________
>>>>> View the list's information and change your settings at
>>>>> //www.freelists.org/list/programmingblind
>>>>>
>>>>
>>>> __________
>>>> View the list's information and change your settings at
>>>> //www.freelists.org/list/programmingblind
>>>>
>>>
>>> __________
>>> View the list's information and change your settings at
>>> //www.freelists.org/list/programmingblind
>>
>> __________
>> View the list's information and change your settings at
>> //www.freelists.org/list/programmingblind
>>
>
> __________
> View the list's information and change your settings at
> //www.freelists.org/list/programmingblind
>

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: