Last post May 20, 2019 09:01 AM by poR
May 17, 2019 10:55 AM|poR|LINK
new to .net core have developed a .net core CRUD app and published this to web server and can access via IIS.
Notice the main executable is RazorCRUD.dll and no index.html in folder but works when run
If want to call this .net core CRUD app from either another .net core app which is a main menu or standard html how can we do this with both
standard interface will be browser for user.
May 17, 2019 11:05 AM|PatriceSc|LINK
Seems you just want to point the browser to the location for this site using a <a href="http://<servername>:<port>">Go there</a> link ? See
May 17, 2019 11:13 AM|poR|LINK
Thanks - assume cannot call a .dll directly via html in way can call a standard .html page and have to use this method in html
if want to call a another .net core app from another .net core app is this possible
e.g if we set up master menu as website http:<server>/<port> but wanted this app to call various different CRUDs how could we do trhis?
May 17, 2019 12:20 PM|PatriceSc|LINK
You also have https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-web-api?view=aspnetcore-2.2&tabs=visual-studio or maybe https://www.c-sharpcorner.com/article/building-a-net-core-class-library/
The site you completed is a web API and doesn't have any UI ??? It's weird you completed something but the architecture you want seems still that unclear at this point.
If you need further help, we would need to better understand your intent :
- to direct a user from a site to another
- to expose operations using a site and have one (or more) other site consuming those
- sharing common code accross multiple sites
- or breaking that a single site into multiple compoments
You don't "call a DLL from an HTML page" at least directly. This is how the code for your web site is stored but this is just basically internal details nobody should care about plus a client side HTML page doesn't have any access to the DLL stored server side.
May 17, 2019 12:52 PM|poR|LINK
has ui as allows user to add, edit delete rows in a table - standard CRUD application. This works standalone and if have this as a site.
However, looking for single site which would be main menu with multiple CRUds
the main menu would have options to call different .net core CRUDS
e.g. Main Menu with following options
maintain product ( which would look to call .net core crud developed using above)
maintain customer ....
main menu would either be .net core or standard html but looking how from there could call the .net core CRUDs
May 17, 2019 01:02 PM|mgebhard|LINK
Your question is unclear.
May 17, 2019 03:48 PM|poR|LINK
Thanks for update
May 17, 2019 04:03 PM|PatriceSc|LINK
For now it still seems to me you just want a kind of web portal site that would direct users to some CRUD pages the user will use? It this is a single site it seems the menu should be just part of it.
May 20, 2019 08:05 AM|poR|LINK
thanks for reply - yes this is what looking for
single menu site and will have one .net core CRUD app for each table and the menu should be able to call each of these .
May 20, 2019 08:30 AM|PatriceSc|LINK
You mean you'll have a "separate app" for each table (published each as a separate web application) ? Are you sure it does have some real purpose ?
The browser side doesn't know anything about the server side so more likely you'll just point the user to the location that shows the page you need. This is your first web app ? It could be best to start with something simple and move forward as needed rather
than to go for something complex with no clear reason. usually you have an app with a controller for each table rather than a "separate app" (not 100% what it means for you) for each table.
You already tried the simplest approach and you need some benefit you don't get from this approach ?
May 20, 2019 09:01 AM|poR|LINK
yes real purpose is for some key users to have a way of maintaining table data on some tables.
yes first web app.
now got this working for one table would like similar CRUD for other tables and way of showing these together to users hence idea of menu.