Create Template In DotNet

Microsoft Visual Studio Provided the inbuilt facility to create Template.I just Explain how to use that thing.

Steps:

1) Create Simple Web Application (Asp.net with C#). now Open the File Menu and Check Whether Export Template Exist there.if Export Template Option there then skip the step2.

image ( Figure 1)

2) if the Export Template Option Not there then how to add that option follow the below steps.

2.1) Open the Tool Menu and Select the Customize Option.

image

2.2) below screen is Open when you click on the Customize Option.select File From Category.

image

2.3) select the Export Template from File and Drag that in to the File Menu.

image

2.4) now Export Template Option Is Available in to File Menu.

image

3) click on the Export Template option in file Menu. below screen is available. now there is two option either you create Project Template or Item Template. in Project Template whole existing project is covered. when you select the Item Template you select page(aspx) from the existing (current) project.

image

4) here i am select project template and press Next button.after that the below screen is available. give the template icon and template name. and press the finish button newly created template location is open close it.

image

5) now close this project and new Website at time you see the added project template there.select that template new project is created.

image

6) how to add Item Template. same as above select the Export Template Option From the File Menu. and select the Item Template and press Next Button.

image

7) select the page from the list of pages. here i have only one page.press the Next button.

image

8 ) select the item references from below screen and press the next button.

image

9) enter the template icon and name. press the finish button newly created item template path is open close it.close the project and open a new project.

image

10) select Web Site Menu and choose option Add New Item. the below screen is open. choose the item template and Add In to project.

image

Thnx

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s