TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Subrata Mitra
1.6k
85
2k
Details discussion on ASP.NET CORE 2.0
Sep 10 2017 10:36 AM
var config = new ConfigurationBuilder()
.AddCommandLine(args)
.AddEnvironmentVariables(prefix: "ASPNETCORE_")
.Build();
var host = new WebHostBuilder()
.UseConfiguration(config)
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
.UseIISIntegration()
.UseStartup<startup>()
.Build();
host.Run();
Hello,
I am new learner in asp.net.Can you please explain line by line code.What is the purpose of each and every line of the code.
Specially I need a details discussion on configuration setting
var config = new ConfigurationBuilder()
.AddCommandLine(args)
.AddEnvironmentVariables(prefix: "ASPNETCORE_")
.Build();
with regards,
Subrata
Thank you
Reply
Answers (
1
)
Datagridview Compare
datagridview to custom iTextsharp report