argoc / asp.net-for-web-developers Goto Github PK
View Code? Open in Web Editor NEWTextbook for CIS 219: ASP.NET, Razor, C#, and Web Pages for web developers
License: Other
Textbook for CIS 219: ASP.NET, Razor, C#, and Web Pages for web developers
License: Other
Consider a "razor as razor" section and a "C# highlights/C# in razor" division of information -- several of the rules are C# rules, but they are not grouped to highlight that fact.
Chapter 9 needs to use Identity, not Membership, to match the final template (did ch 2, 6, and 8 already)
http://www.mikesdotnetting.com/article/192/transferring-data-between-asp-net-web-pages _AppStart.cshtml and other ways
http://stackoverflow.com/questions/16530504/set-global-variable-at-compile-time-from-cshtml-page App_Code/Global.cs
Use the example of two layouts and a common footer as a reason to use RenderPage to pull in the footer partial file.
MVC has RenderPartial, but with WP we have to use RenderPage on the partial -- so give it a _starting file name.
there are some issues with the VS template -- need to be addressed in VS gallery, not in the book.
App_Code requires turning off precompilation on AppHarbor. Need to add how to do that and why, to chapter 6.
These are not discussed in the book, and as early as ch. 3 people want to know.
Remove as written says it removes a character -- infact it takes an int, and removes a portion of the string from that point to the end.
String functions need to list more functions: substr, trim, perhaps others.
Missing || in boolean operators (OR).
(page #s are from the PDF)
page 3 - preface - maybe comma for para 5?
Razor was developed in 2010 by Andrew Nurse () for Microsoft , comma or period here?
pp5-Microsoft also provides LINQ, ((((((with))))) provides both a library and another language for database access. The LINQ language is like SQL โ similar to how C# is like Java. ((((which))))
pp10display. Syntax errors ((((indicatye)))) that there is something wrong with the syntax of the program. Example: Omitting the semicolon at the end of a C# statement yields an error unexpected
Example: An infinite recursion eventually cases the runtime error StackOverflowException. (((indicate)))
p23So this expression computes ((((x ฯ / 2))).
(((((X/2 *3.14)))))
Use of term Integral in chapter 4, for example...
in chapter 4, there is a part toward the bottom of the chapter, where it talks about data conversions. In there, the text refers to "integral" types. "integral" is indeed the term intended to explain the data conversion rules discussed in the chapter. In fact, integer is one of the integral types. Need to define integral if I'm going to use it...
read more about it: https://msdn.microsoft.com/en-us/library/exx3b86w.aspx
the ++ and -- seems not to render the symbols in a few places, search and make sure asciidoc isn't eating them as marks rather than C# operations.
MS Imagine has non-time-limited Azure for student accounts, could rewrite the deployment (or provide an alternative) to use Azure vs. AppHarbor
for the VS template http://rehansaeed.com/custom-visual-studio-project-templates/
Chapter 7 page 199 - top of page example: CalendarEntry internetBirthday;
Clarify for readers: CalendarEntry is a class, internetBirthday is a variable. Variables defined of a class type hold instance of that class, i.e. objects. Instances are created with the new operator. So we can say, later,
internetBirthday = new CalendarEntry(new DateTime(1991,8,6),"internet's birthday");
to make a new object.
To add an image file, the easiest way to do that is to do this:
Have your project open in Visual Studio; if you want to put images in an images directory, and one doesn't already exist, use Add->new folder to create the folder.
Find the image in File Explorer (outside of Visual Studio).
Drag the image file from the File Explorer view to the Solution Explorer view in Visual Studio; let go once it is over the folder you want (the project folder, if you want it in the website's home directory).
Let me know if this doesn't work for you -- I tried it, and it seemed to be smart enough to add the file to the project automatically.
If you copy the file in directly all through File Explorer, then it isn't officially in your project, and won't be found when you do the deployment step in module 6. You won't see it listed in your files unless you click "Display All" in Solution Explorer, and then it will have a dashed outline. If this is the case, right-click the file and select "Include in Project". This ensures it is part of your project for deployment purposes.
MS won't let new uploads occur (need to retry to see when that capability returns to VS Gallery).
This impacts Chapter 2!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.