How to add new web project to ASP.NET Boilerplate? - module

I have followed this tutorial to create a modular application (JPY-D360) based on ASP.NET Zero module (JPY-Zero). But this tutorial didn't guide me to add a new web Area to new web project module (JPY.D360.Web). So that I have to create a new area in the core module (JPY.Zero.Web).
My current structure
--> My project JPY.D360.Web is useless and the instruction goes wrong. Could anyone guide me how to create a new area in the new web project JPY.D360.Web ?

Related

Create Integration Test Project into ASP.NET Core application

I have created an ASP.NET Core WebApi project. Trying to add Integration Test Project following Integration tests in ASP.NET Core article.
According to the sample project, I have added another web application for the Test project and configured like the sample project. Then I deleted the program.cs and startup.cs files.
But when I build the project got the following error:
Error CS5001 Program does not contain a static 'Main' method suitable
for an entry point
My folder structure is like this:

How to use existing Masterpage.Master in asp.net web project to another MVC4 _layout.cshtml project?

Please help me out that I have an existing project with Masterpage.master file and I want to use that design to new MVC4 project. so how can we incorporate this functionality. Please help.

Unable to reference a Blazor Component Library project

I am trying to follow this article to create a razor component library.
This in itself is not an issue.
The issue comes when i try to reference this project to my Blazor project.
When i create my Blazor project, it is always created as a .Net Standard project. The Razor component library is created as an Asp.net Core project.
I am unable to create the Blazor project as Asp.net Core.
And im unable to create the component library as .Net standard.
What am i doing wrong here?
Let's begin here:
I am unable to create the Blazor project as Asp.net Core
Selecting server-side Blazor results in a project in Asp.net Core
With server-side Blazor you can create a Razor Class Library.
With client-side Blazor you cannot create a Razor Class Library. You can instead create a Blazor component library.
The Blazor component library should be created by the blazorlib template in a command shell... Do this:
dotnet new blazorlib -o MyComponentLib1
Now add the newly created Blazor component library project to your solution, and use it according to the instructions described here:https://learn.microsoft.com/en-us/aspnet/core/blazor/class-libraries?view=aspnetcore-3.0&tabs=visual-studio#consume-a-library-component
Hope this helps...

asp.net core project occurs MissingMethodException

I create a new project with ASP.NET Core Web Application(.NET Core).
And it can work after building and running it.
I create a class library with .NET Core and move the files under Service folder in the web project to the library, then add the reference and change namespace in the controllers.
It occurs MissingMethodException after registering a new user.
Asp.net core project seems not able to use class library outside the web project.
The detailed message is as the below.
In ASP.NET Core , everything is in form of nuget packages, hence you might have to create nuget package from the class library and then add it to the current solution.
Hope this information helps.

MVC 4 - Getting error while trying to add a new report

Followed the steps within this link, I succeeded to run a report using a DXperience ASP.Net MVC Web application project wizard, but when I tried to reproduce exactly the same thing using a basic ASP.Net MVC Web application project wizard, I got no debugger error while compiling, but the browser returned the the following error:
It doesn't look like the DevExpress extensions are visible in the namespace of your view. Add a using, or add it to your Web.Config under ~/Views
#using Devexpress; // or whatever the namespace is
Also, you need to make sure that Devexpress is added as a reference to the project, if it's not already added.