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 7 years ago.
Improve this question
I see stuff everywhere about how to add MVC to Web Forms app but not reversed.
I have a current MVC project and a current Web Forms app but want to add the Web Forms to MVC.
I created a folder under Views and played with the routing but have had NO luck yet in getting it to display. I still see a 404 error.
Web Forms pages must not be inside the MVC ~/Views folder in order to get served out.
You can integrate either MVC and WebForms in the same project, they are apart of the same framework, take a look here:
http://www.asp.net/aspnet/overview/whats-new-in-visual-studio-2013/one-aspnet-integrating-aspnet-web-forms,-mvc-and-web-api
for a complete workaround.
Related
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 7 months ago.
Improve this question
can I load, render the main page first using blazor server, then switch to a subpage and run it using webassembly?
I know I can create webassembly + asp.net but then the main page is displayed using webassembly (seo unfriendly)
... but then the main page is displayed (seo unfriendly)
What you are looking for is called "server prerendering".
It requires hosting on asp.net (using the Webassembly hosted model).
See the official docs and also search the term for more walk-throughs and videos.
Here is a useful blog that links to a few more.
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.
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.
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.
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 8 years ago.
Improve this question
I have an application which is built in windows form C# where I have a View, a Model and s ManagerHelper folder with classes in it. I wanted to convert this application into MVC application.
I know it's not convertable and needs to be implemented from scratch. The reason I wish to create to an MVC project is because I'm new to MVC and wish to learn it.
I'm familiar with HTML syntax however this seems to be really hard to get a grip of.
So my question is: What would a good approach if I which to change my windows form application into an MVC application.
Any link to articles or any books recommendation for Learning MVC would be helpful as well.
There was an article about this in MSDN magazine last year. It should help guide you. You can read it HERE