I have compiled my existing ASP.NET MVC 5 project to ASP.NET Core. Compilation completed without any issue. How should I deploy this project in windows ???
Check out this link they provide step by step on how to deploy .Net Core project
https://stackify.com/how-to-deploy-asp-net-core-to-iis/
You haven't mentioned anything about web server. I am assuming you are trying to deploy in IIS.
Anyways, here is a proper step by step explanation with sufficient visualization.
https://jakeydocs.readthedocs.io/en/latest/publishing/iis.html
Hope this helps ...
Related
when i run the ASP.NET Core MVC application from Visual studio 2022, it getting conflicts with source and module file(please refer the attached image.)
We are migrating MVC5 project to ASP.NET Core MVC and i dont know these initial configuration settings
Pls assist me on this
Thanks
I need to run the application in the browser.
Please delete the bin folder and rebuild your project.
I have migrated the project from Dot.Net-Framework 4.7.2 to Asp.Net-Core 3.1 with VB.NET language. I have checked in Microsoft link below, there is no CLI Command for VB.NET in Asp.Net Core templates. They mentioned only C# language for ASP.NET Core
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new
Kindly let me know if there is any way to create a ASP.NET Core Project in "VB.NET"
As far as I know, asp.net core couldn't create the MVC vb.net project. You could use dotnet new --list to see the result:
Besides, according to this github issue, ASP.NET Core Doesn't provide a razor syntax that supports VB.NET.
The workaround is using the custom library like Vazor and ZML to design MVC views and Razor Pages.
More details, you could refer to this github issue.
This question is a bit older, to be sure, but the good news is that today there IS a way to build ASP.NET Core applications in VB.NET.
For the past few days I've been working with Vazor, found here and here. I've found it to be remarkable. It's a very clever solution to a long-standing problem.
The author also has plans to enable Blazor apps in VB.NET projects.
I have spent quite a time trying to load the Initial Project generated by the AspnetBoilerplate startup template all to no avail. This is a .net core template (JQuery with MVC) with Target Cross platform.
See error sample below
I installed the dotnet core 2 for VS 2017. The project won't just build. I can not see anything related to NetStandard, yet that seems to be what the project supports
Any help i can get will be appreciated
Have the .NET / ASP.NET core symbols been hosted anywhere yet? They would be helpful in debugging and learning.
To debug Asp.Net Core, I followed the article sbouaked is mentionning, got the source from Git, and it's working perfectly. Didn't find a way to get only the symbols.
I'd like to use ELMAH in an ASP.NET MVC 2 application running on .NET 4, but according to the project hosting site on Google code, it only supports .NET 1.1 and 2.0.
Is there a .NET 4 version of ELMAH already, or do I have to download the source and update whatever breaks myself?
Elmah works perfectly fine for ASP.NET 4.0.
However, there are a few tricks in getting it setup to work perfectly on an MVC website.
I have recently starting blogging about this topic so be sure to check out my blog series on logging in MVC. The first article covers getting Elmah set up and running for MVC using all the tricks that you can find about it on StackOverflow.
There is a link to downloadable code at the end of the article. Hope that helps.
http://dotnetdarren.wordpress.com/
I am using .NET 4.0 and I dont about a new version.... but I am using the elmah 1.1 and it works....:)..You may have to change source though to add custom fields or log additional values..which is bit of a pain...but get started here
Well it's open source nothing should prevent you from recompiling it using the .NET 4.0 framework.
This link has some information about running pre .NET4 web apps and .NET4 web apps in a server.
EDIT:
Actually you won't need to recompile ELMAH. According to this and this article the In-Process side by side execution should do the trick.
I had the same question so I downloaded the 1.1 src, opened it up in visual studio 2010, changed the project to target 4.0 and rebuilt it. I then dropped the dll in my ASP.NET MVC 2.0 app and it has worked fine.