How to Create a Project, Part 1, How to Create a Solution

Part of the You Can Learn ASP.Net and C# series.
By Ken Brown
September 3, 2004

This is a two part article on creating projects in Visual Studio.
How to Create a Solution
How to Create a Project

One of the first important skills you should learn is how to create a project in Visual Studio.Net. Why learn something like this? I have found that someone will give me a task to complete within a project. So maybe you have a couple of ideas of how to solve this specific task. You want to test your ideas. Create a quick test project. Then add a couple of controls you want to test and get a quick answer to the best solution for your project.

With your little test application, you have a prototype to show your team members, team leader, project management team and even your client. Now you have the right answer instead of a potential answer. It's usually easy to cut and paste the controls and C# code into the actual project.

Let's get started ...

I am making the assumption that you have IIS installed your computer. If not, see our section on setting up IIS on your machine.
1. Open Visual Studio, you will normally see the Start Page. (See image below.)
Start screen in Visual Studio where you create a new Solution and a New Project

2. Choose New Project
3. Choose Visual Studio Solutions as the Project type
4. For the template highlight Blank Solution.
5. Type in the name "MyFirstSolution" in the name field and make sure the path or location is set to C:\inetpub\wwwroot.
(On the image below change the word "Solution1" to "MyFirstSolution" leave out the quote marks when you type in the field.)
6. Click on the Okay button.

The New Project Dialog Box for creating a class in Visual Studio

The New Project Dialog Box for creating a class in Visual Studio after changing the project name.

You have a solution created, now you can add a project. Solutions can contain multiple ASP.Net projects. On page two I will explain the next step in creating a project.
Go To Page  1 / 2

Home| About Us | NewsLetters | Contact Us |

Copyright © 2004-2014 You Can Learn Series

You Can Learn Series Home Page You Can Learn Series
You Can Learn Series Home Page Home            About the creators of YouCanLearnSeriesAbout Us      Contact YouCanLearnSeriesContact Us      Site map of YouCanLearnSeriesSite Map      Privacy Policy of You Can Learn SeriesPrivacy Policy       Terms of Use of You Can Learn Series web siteTerms of Use       YouCanLearnSeries RSS feed for C# tips and tutorials     
C# and ASP.Net Programming TipsC# and ASP.Net      SQL Tutorial, tips and tricks for DBA'sSQL       Landscaping Tips for Home GardenersLandscaping       WeightLifting Tips for the Young and OldWeightLifting       Kennos BlogBlog       Good health TipsGoodHealth       Learn about Great Travel DestinationsTravel     Web Business TipsWeb Business            You Can Learn Series' Online StoreStore

You Can Learn C# and ASP.Net SeriesC# and ASP.Net
  Using Client Side Code with C# and ASP.NetClient Side Code
  Using Client Side State Management with C# and ASP.NetClient Side State Management
  Create a C# Class in Visual StudioCreate A Class
  Use A Class in C#Use A Class
  Create a Solution in Visual StudioCreate a Solution
  Create a Project in Visual StudioCreate a Project
  Create an RSS feed for your Web SiteCreate an RSS Feed
  Create an RSS feed for your Web SiteListItemCollection
  Set Events in ASP.NetSet Events ASP.Net
  Set Events in C#Set Events C#
  What is Session State and How to Use it.Session State
  Creating and Using the C# SortedList ObjectSortedList Object
  Stylesheet Tips for Visual Studio .Net and ASP.NetStyleSheet Tricks
  Using C# MethodsUsing Methods
  Pass Objects to MethodsPass Objects to Methods
  Pass Objects from MethodsPass Objects from Methods
  Using Client side State management like ViewState and Hidden fieldsView State
  LDAP, What is Lightweight Directory Access ProtocolWhat is LDAP
  Build an LDAP ReaderBuild an LDAP Reader
  Convert information from LDAP to a Web ServiceLDAP To Web Service
  Question of the dayQuestion of the Day

You Can Learn SQL SeriesSQL
You Can Learn Landscaping and Gardening SeriesLandscape Tips
You Can Learn WeightLifting SeriesWeightLift Tips
Kenno's BlogBlog
You Can Learn Good Health SeriesGood Health Tips
You Can Learn Good Series NewslettersNewsletters
Learn about Great Travel DestinationsTravel
You Can Learn Series Web Business TipsWeb Business Tips
Merchandise Available from You Can Learn SeriesMerchandise

Bill Welter - The Prepared Mind of a Leader

Americas Public Schools