Avatar of Kenny Hopton
Kenny Hopton
Flag for United States of America asked on

MVC template web application (C#)... need a roadmap.

I used to code for a living so I'm thinking I will build a few web sites and get up to speed on the way things are done now. I did some reading on HTML5, CSS and JavaScript. Follow the instructions in the books, build some stupid example sites that amount to 3 to 5 files, you know the tutorials. Ok, time to do something real.
I have Visual Studio 2013 so I figure I'll start there and lean on the Intellisense crutch until I get a feel. I am trying to find my way around Visual Studio 2013 and, specifically, trying to build a basic MVC web app and get up to speed.
File | New | Project | Templates | Visual C# | Web | ASP.NET Web Application  | MVC ...

Poof!  278 files in 120 folders. Seriously.

I get the MVC concept. I get C#.  I get HTML 101 and CSS 101 and JavaScript 101. But there are a lot of arbitrary modularizations and abstractions in this template that seem to come from thin air.  HTML files are CSHTML files I guess. What is a ViewBag and why is there an @ reference in front of it? If I knew what the @ was I might be able to find documentation for this:

@{
    ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>

I have not met this @ and that is a challenge, but there are surely lots of other things like it.  Where can I get an overview of what all the files are for and what these far-from-self-documenting notations are? BTW, I did figure out the $ in JQuery.
C#ASP.NETMicrosoft Development

Avatar of undefined
Last Comment
Kenny Hopton

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
kaufmed

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Kenny Hopton

ASKER
Thanks Kaufmed, that was quick and it answered my specific questions getting me back in motion.

I am still looking for a general roadmap. The secret about files starting with _ being wrappers of a sort, for example. All the secret names like App_Code. I am stumbling over them but I feel like there ought to be a big list so I will be able to tell what all the files in my sample project do. Any idea where I might learn all those arbitrary things?
SOLUTION
kaufmed

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Kenny Hopton

ASKER
Fast response! Thank you!
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23