Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

how to create module in asp.net core 2

$
0
0

Hello.

I am working with dotnet core and I need to create modules like nuget package or dll to use it in my projects.

Let me explain, for example i need menu in all projects and I want to create it like a pakcage and use it in all projects.

My menu has a model

Id,Title,order,Address

Also has a logic or service file for methods like:

Add, edit,delete,getitems,getmenu,getitem

It has a partial view for showing menu

It has a folder in admin area

This folder has some views and controller for admin area

So as I said I want to create something like nuget package for this menu and in my projects just install this package and use it.

Is there eny way to create this package or its impossible?

If I can please give me an example for this, I searched but no result with example.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>