Is SPA still working for MVC4 RC? - asp.net-mvc-4

I am little confused regarding this matter. I understand that VS had a SPA template for MVC4 beta but not for MVC4 RC. But http://www.asp.net/single-page-application says I can install SPA with nuget package after installing MVC4 RC. Does this mean that SPA is still working for MVC4 RC? I am asking this because some discussions over web indicated the opposite. Any clue will be appreciated.

The latest ASP.NET SPA release (Beta) is not compatible with ASP.NET MVC4 RC (and later) but you can built your application with older NuGet packages or modyfi current sources of ASP.NET SPA to work with ASP.NET MVC 4 RC. Here you can find some how-to for those solutions:
Building Single Page Apps with ASP.NET MVC4 - Part 5 - using ASP.NET MVC4 RC
DeliveryTracker with ASP.NET MVC 4 RC

Related

Azure Pipeline Ambiguous Selection

I've a private repository in my Azure DevOps.
It was a WebAPI built on .NET 6 preview. But when I try to create a Pipeline for this, These are the options DevOps is offering me.
My application is an ASP.NET Core WebAPI. But here it was mentioned:
"Build and Test ASP.NET Projects targeting .NET Framework".
I thought Classic ASP.NET is on .NET Framework and ASP.NET Core is for .NET Core.
Which Pipeline I can use to build my app and why ASP.NET Core has a (.NET Framework) in brackets?
If you click show more you will find:
Until today these templates do not work for modern net 5.0+ apps.
This is what should be done
https://learn.microsoft.com/en-us/azure/devops/pipelines/ecosystems/dotnet-core?view=azure-devops&tabs=dotnetfive

How to create a ASP.NET Core Project in VB.NET language using dotnet cli command?

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.

Helper library for ASP.NET Core 5 - NuGet packages not available?

I'm writing a helper library for ASP.NET Core 5 (with .NET 5) and I need some APIs from the package Microsoft.AspNetCore.Server.Kestrel.Core. However, the package is only available in version 2.2 - not version 5.
Is ASP.NET Core no longer distributed via NuGet? And if so, how does one get the APIs with ASP.NET Core 5.
Side note: I found that I could use Microsoft.NET.Sdk.Web as SDK for the project but I'm unsure whether this is a valid/good/correct approach when writing a library.
Is ASP.NET Core no longer distributed via NuGet? And if so, how does one get the APIs with ASP.NET Core 5.
That's correct. The core of ASP.NET Core (no pun intended...) ships with .NET Core >= 3.0 as a shared framework. You can add a single FrameworkReference to your nuget package to pull this in. See https://learn.microsoft.com/en-us/aspnet/core/migration/22-to-30?view=aspnetcore-5.0&tabs=visual-studio#migrate-libraries-via-multi-targeting for more information.
Some background can be found here https://github.com/dotnet/aspnetcore/issues/3756

Angular 7 and Asp .Net Razor

I have used before AngularJS with webforms in some projects at work. I'm starting to migrate everything to .Net Core Razor mixing MVC as well and I would like to use latest Angular for some client side to work with web Apis mostly.
I see there is new .Net Core Angular Template and that you can Angular Items to your Solution in razor template, but how can I actually just add latest angular version to my existing razor project?
Use npm. See how to configure dependencies in package.json. In visual studio right click on solution -> Add -> New Item...
For latest angular add #angular/core package.

Integrate Angular 5 in Asp.net core 1.0

I am trying to integrate asp.net core web applicaion with the angular 5. But not able to find the correct procedure or way to do.
I have followed various links, but no use like getting the errors.
Also I tried to work with installing the templates with angular and core but throws error. I think might be the version error, as its angular 2 template integrated with the .net core 1.0.
Please let me the solution or the way to integrate through links or your idea of approching.