Click here to Skip to main content
15,914,074 members
Home / Discussions / ASP.NET
   

ASP.NET

 
SuggestionRe: Couldn't retrieve all records from SQL database in c# Pin
Richard Deeming9-Jul-18 8:43
mveRichard Deeming9-Jul-18 8:43 
Question.Net Core 2.1 with SQLite, ReactJS.net and JavascriptRenderingEngine, Porting my first app over to it was really hard Pin
jkirkerx6-Jul-18 8:31
professionaljkirkerx6-Jul-18 8:31 
QuestionHow to use angular along with ASP.NET mvc project Pin
Nitin S4-Jul-18 20:37
professionalNitin S4-Jul-18 20:37 
AnswerRe: How to use angular along with ASP.NET mvc project Pin
Keviniano Gayo4-Jul-18 22:05
Keviniano Gayo4-Jul-18 22:05 
AnswerRe: How to use angular along with ASP.NET mvc project Pin
Vincent Maverick Durano5-Jul-18 14:58
professionalVincent Maverick Durano5-Jul-18 14:58 
GeneralRe: How to use angular along with ASP.NET mvc project Pin
Nitin S5-Jul-18 17:52
professionalNitin S5-Jul-18 17:52 
GeneralRe: How to use angular along with ASP.NET mvc project Pin
Vincent Maverick Durano6-Jul-18 2:04
professionalVincent Maverick Durano6-Jul-18 2:04 
AnswerRe: How to use angular along with ASP.NET mvc project Pin
jkirkerx6-Jul-18 9:09
professionaljkirkerx6-Jul-18 9:09 
I've been pondering the notion of mixing Angular with .Net MVC as well for about 3 weeks now.
Noticed how I wrote Angular and not AngularJS? AngularJS was the first version, then they changed the name to just Angular.

I just added Angular 5 to my .Net Core 2.1 project, and will write some Angular stuff next week. So I'm moving forward with it and decided to adopt it.

Why?
I questioned why so many software recruiters are looking for the Senior .Net Core 2 and Angular guy, and thought why? There both MVC except one is client and one is server. So I started searching the interwebs for the answer and this is what I found.

Weather.com
At first, I found weather.com, that uses Angular to display the weather for your city for that day. A single page app in which you can move to the next day, or a week, 10 day forecast, and the home page "Wall" of weather related topics. So I get it.

TV Guide
The I went to TV Guide, and saw similiar technology being used for TV Listings. You can hit next and get the listings for the next hour. Makes sense to me here as well.

Navigation
After that I realized that it could be used for menu's and navigation as well. Being able to take a Bootstrap dropdown menu and use Angular to populate departments, categories instead of the menu being static. Or create flyouts ads, and grab an ad using Angular and then animate it.

My thoughts
So MVC has the controller and Models, then you create a limited view, and finish it off with Angular. When I look at .Net Core 2.1, I can see how you can build a limited version of core with a couple View pages and serve up Angular or ReactJS pages instead. I'm looking at the Angular Demo now, and that would be too hard core for me to start with. I choose to use NPM and distribute it with Gulp and bundle it, and will try building another Angular page within a View.

Summary
Well that's as far as I have gotten on the subject. But once again it's another move towards shifting server CPU loads and bandwidth back to the client and use their CPU power and electricity to generate a page. Servers can just send Json formatted data. I'll find out in time if it's worth it or not, plus I have zero debate points to argue in favor of it.
If it ain't broke don't fix it
Discover my world at jkirkerx.com

GeneralRe: How to use angular along with ASP.NET mvc project Pin
Vincent Maverick Durano6-Jul-18 18:43
professionalVincent Maverick Durano6-Jul-18 18:43 
GeneralRe: How to use angular along with ASP.NET mvc project Pin
jkirkerx8-Jul-18 12:20
professionaljkirkerx8-Jul-18 12:20 
QuestionAngular project Pin
Nitin S4-Jul-18 20:34
professionalNitin S4-Jul-18 20:34 
AnswerRe: Angular project Pin
Vincent Maverick Durano5-Jul-18 15:05
professionalVincent Maverick Durano5-Jul-18 15:05 
Question.Net Core 2.1 - Setting Session Value in controller, then reading it in Controller Attribute. Pin
jkirkerx4-Jul-18 8:45
professionaljkirkerx4-Jul-18 8:45 
AnswerRe: .Net Core 2.1 - Setting Session Value in controller, then reading it in Controller Attribute. [solved maybe] Pin
jkirkerx4-Jul-18 10:22
professionaljkirkerx4-Jul-18 10:22 
QuestionLoop through dataset to create hyperlinks in aspx Pin
caffrey_13-Jul-18 23:44
caffrey_13-Jul-18 23:44 
AnswerRe: Loop through dataset to create hyperlinks in aspx Pin
Richard Deeming4-Jul-18 7:37
mveRichard Deeming4-Jul-18 7:37 
PraiseRe: Loop through dataset to create hyperlinks in aspx Pin
caffrey_14-Jul-18 10:27
caffrey_14-Jul-18 10:27 
QuestionBinding selected value of Dropdownlist to Grid Pin
indian1433-Jul-18 12:58
indian1433-Jul-18 12:58 
AnswerRe: Binding selected value of Dropdownlist to Grid Pin
Vincent Maverick Durano3-Jul-18 16:20
professionalVincent Maverick Durano3-Jul-18 16:20 
Question.Net Core 2.1 IHostingEnvironment, how to access it Pin
jkirkerx28-Jun-18 20:14
professionaljkirkerx28-Jun-18 20:14 
AnswerRe: .Net Core 2.1 IHostingEnvironment, how to access it Pin
Richard Deeming29-Jun-18 0:00
mveRichard Deeming29-Jun-18 0:00 
GeneralRe: .Net Core 2.1 IHostingEnvironment, how to access it Pin
jkirkerx29-Jun-18 6:18
professionaljkirkerx29-Jun-18 6:18 
Question.Net Core 2.1, Get the Environment to seed a database so I can get the path Pin
jkirkerx28-Jun-18 9:02
professionaljkirkerx28-Jun-18 9:02 
AnswerDirectory.GetCurrentDirectory Pin
jkirkerx28-Jun-18 9:11
professionaljkirkerx28-Jun-18 9:11 
AnswerRe: .Net Core 2.1, Get the Environment to seed a database so I can get the path Pin
Richard Deeming28-Jun-18 10:26
mveRichard Deeming28-Jun-18 10:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.