Use breeze in regular MVC project instead of spa - asp.net-mvc-4

breeze is a great library. Because of project complexity I don't want to use spa template. Is there a way I can use breeze in a regular .net mvc4 project?

We're releasing support for it very soon - directly in ASP.NET MVC and Visual Studio. Stay tuned...!

Absolutely, just start with an empty .net MVC4 project and run the 'base' breeze nuget package ( the one that doesn't say 'sample').

Related

ASP.NET Core Web Application with .NET Framework, I want to switch the target to .NET Core

I'm trying to change ASP.NET Core web application with .NET Framework as a target framework to use .NET Core 3.1.X
I try changing the target framework in the project file (.csproj), I encounter dependency issues, dependency conflict....
Is there any straightforward method to solve this issue?
Before you start your migration, you should know there’s several difference between .net framework and .net core, so please follow the official document to do some Pre-Migration steps.
Then you can follow this official document to migrate your application from framework to .net core 3.1.
Since your ideal .net core version is 3.1, still I suggest you can try to use .net 6. Also, you can use this upgrade tool to reach your goal. In fact, using this upgrade assistant is a batter choice than you doing it by yourself. Even if you are insisting using .net core 3.1, you can use this assistant to upgrade your version to 6 first then change it to 3.1.
Note:
Before you start your migration, please make a backup of your original project. That's because some packages in .net framework may be no longer available in .net core. So if there're some errors occur, you can go back to the original one.

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.

I want to use vbhtml editor (only the editor not the full razor) in ASP.NET Core app

I need to use vbhtml files with editor support in a VB.NET ASP.NET Core project. I don't need Razor to do any thing with these files. Just want the editor support (currently, the editor supports the html part only, not vb code). Is there a reference or a Nuget that I include in the project to borrow vbhtml editor from ASP.NET 5 to ASP.NET Core?
I'm afraid this is not possible. The Razor version which is used by ASP.NET Core MVC does not support the Visual Basic language (e.g. .vbhtml files), only C# is supported.

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.

Hot Towel, Durandal SPA, Breeze Angular templates for VBNet?

So it appears that there are not any prebuilt VBNET versions of the Hot Towel, Durandal Breeze Angular Templates for VS2012. But since those templates really just make use of client side libraries with MVC I should be able to wire up my own VBNET MVC version with said libraries/frameworks, right? Apologies if this has been asked before but i did not find an answer.
You can add the Hot Towel SPA template via NuGet.