Use Angular 2 with .NET Framework [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I started to take in consideration the possibility to use Angular 8 in new projects instead of Knockout.js, within ASP.NET WebApi2 for SPA.
But the real question is there a way to use Angular 8 with ASP.NET or you are basically bonded to ASP.NET Core?

You can use ASP.NET, ASP.NET Core, JAVA, PhP, nodeJS or any other backend. You create the APIs in the backend and Angular only consumes it.
Angular simply doesn't care in which Framework the backend APIs are written.

Related

Entity Framework Core & APS .NET core: create a flexible API that allows you to tell it what to include [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
Is it possible to create an API using EF Core and ASP .NET Core that is flexible and allows you to eager load?
For example: you would call groups with a post call and you could tell the API "include the users list in those loaded entities".
Also it would be nice to pass conditions to the API.
Do you have to create specific methods for this like LoadGroups for groups and LoadGroupsWithUsers for a include of users or is it possible to create a single method in the Controller for this that is capable of handling both?
As #vsarunov mentioned this can be achieved by using GraphQL.
Here his link.

How do I pass data from ASP.NET to a ASP.Net Core application? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
The problem is figuring out a way of sending data / requests from an existing ASP.Net application to an ASP.Net Core.
The ASP.Net Core application is currently using version 2.0 framework.
I know there is a way of putting a window inside of an ASP.Net application, and I have already done this.
The issue is to find out a way to read requests, read GUID values and then perform the logic within the ASP.Net core application.
Suggestions please.
Thank you
There are many data transfer options, eg:
1) Both sites can look at the same database
2) They could communicate via an API
This question is very broad.

Using angular 4 for making just ajax call [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to use Angular 4 for doing small operation like just making ajax call. Note: I know, I can use plain jquery to do this... blah... blah...
Question:
What Angular 4 Nuget Packages I need to Install for doing small operations like just making ajax call. Any example will help.
Technologies I am working with: Asp.net MVC, .Net Core, C-Sharp
This would be an inappropriate use of Angular. Angular is a client-side technology whose primary purpose is to provide a single-page application (or SPA) user interface for a Web application.
The idea is that the entire application runs on the client and does not require going back to the server to navigate between the pages of the application. The only time an Angular application needs to hit the server is to get data or to lazy load more of the application.
It makes no sense to use Angular within an MVC application to retrieve data.

Create App with Ionic2-Angular2 front and ASP.NET core Back? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
how can I create app with Ionic2-Angular2 front-end and ASP.NET core Back-end? in same server. Also I what about multi-platform application.
Yes, you can. In ASP.NET you'll create a web API, that will be consumed from angular code. Here is how you create a web API: https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-web-api
Angular, more precisely the JavaScript which will be generated, does not "know" what kind of back end is used. There just will be an URL and the method how to access it. Your communication will probably embrace HTTP GETs and POSTs.
As long as the resource is accessible with one of the methods,
it does not matter if it is
a static file (post would not make sense in this case)
a PHP script
or ASP.NET Backend
or something else.

creating RESTful like urls despite heavy limitations [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
Environment:
.Net Framework 3.5 SP1
WebForms Application
What would be the best way to mimic url routing in a web form application with authentication in mind?
I've researched things like: WebClient class, URL Rewriting, Custom HTTP Handlers. Any insights?
I think this might help you
ASP.NET FriendlyUrls - cleaner URLs, easier Routing, and Mobile Views for ASP.NET Web Forms

Categories

Resources