Index.cshtml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. @{
  2. ViewBag.Title = "Home Page";
  3. }
  4. @{
  5. string abc = "1,2,3,4,5,6";
  6. var a = abc.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries);
  7. var b = a.Select(p => int.Parse(p));
  8. }
  9. <div class="jumbotron">
  10. <h1>ASP.NET</h1>
  11. <p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
  12. <p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more &raquo;</a></p>
  13. </div>
  14. <div class="row">
  15. <div class="col-md-4">
  16. <h2>Getting started</h2>
  17. <p>
  18. ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that
  19. enables a clean separation of concerns and gives you full control over markup
  20. for enjoyable, agile development.
  21. </p>
  22. <p><a class="btn btn-default" href="http://go.microsoft.com/fwlink/?LinkId=301865">Learn more &raquo;</a></p>
  23. </div>
  24. <div class="col-md-4">
  25. <h2>Get more libraries</h2>
  26. <p>NuGet is a free Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects.</p>
  27. <p><a class="btn btn-default" href="http://go.microsoft.com/fwlink/?LinkId=301866">Learn more &raquo;</a></p>
  28. </div>
  29. <div class="col-md-4">
  30. <h2>Web Hosting</h2>
  31. <p>You can easily find a web hosting company that offers the right mix of features and price for your applications.</p>
  32. <p><a class="btn btn-default" href="http://go.microsoft.com/fwlink/?LinkId=301867">Learn more &raquo;</a></p>
  33. </div>
  34. </div>