Hi,
I have the application with version 7.0 running on an IIS virtual directory. I changed the appsettings.json so the "WebSiteRootAddress": "http://localhost:80/cpms/", also this files CPMS.Web.Mvc\Views\Account\Login.cshtml and CPMS.Web.Mvc\Areas\App\Views\Layout\Default_Layout.cshtml so they would use the directory \cpms. And updated the path in several CSS files. The application is working fine.
I tried to update to version 8.1, but can't make it to work on a virtual directory. I have changed the path in the Login.csthml, and the Layout.cshtml, but I'm getting errors when the application is trying to access de api's. It doen't use the directory \cpms.
I can't figure out where to update the application so the api's use the correct URL.
Thanks for any help you can provide.
Hi,
I'm using ASP.NET Zero Core MVC JQuery version is 7.0.0. I'm using the Select function on the datatables so when a user clicks on a row the row is highlighted and some fields are populated. I'm having the issue that if the user clicks the same row, the row is deselected (not highlighted). I want to disable the select toggleable behavior. In datatables.net it says that it can be disabled by using this in the datatable definition:
table = $('#example').DataTable( { select: { toggleable: false } } );
I added the option to the datatable definition, but the select toggleable still persists. How can I disable this?
Hi,
I'm using ASP.NET Zero Core MVC JQuery version is 7.0.0 with SQL Server Database. I need to access data from an Oracle Database, but can't get it to work.
I added the Oracle.EntityFrameworkCore nuget package to the EntityFrameworkCore and Web.Mvc projects. I created a connectionstring for the Oracle Database in the appsettings.json file in Web.Mvc project. Created another DbContext, DbContextconfigurer and DbContextFactory in the EntityFrameworkCore project for the Oracle Database. Added code in the PreInitialize subrutine in the EntityFrameworkCoreModule to configure the Oracle Database.
I tried to create a custom repository to query the Oracle Database, but I can't get it to connect to the database. I can't find any documentation on what to do next. Can you please provide some guidance?
Hi,
I'm using ASP.NET Zero Core MVC JQuery version is 7.0.0. I need to create a form with multiple fields (15 or more) and save those fields in multiple tables. What is the best way to achieve this? I tried to create a View with all the fields and then add a submit button to call a Save action in the Controller, but I get an error: HTTP Error 415.
Hi,
In the documentation there are instructions only to deploy to a website and not to a virtual directory in IIS. Could you please tell me the changes I need to make to be able to publish to a virtual directory in IIS? I'm getting the following errors:
Failed to load resource: the server responded with a status of 404 (Not Found)
poppins-v5-devanagari_latin-ext_latin-regular.woff2:1 Failed to load resource: the server responded with a status of 404 (Not Found)
poppins-v5-devanagari_latin-ext_latin-500.woff2:1 Failed to load resource: the server responded with a status of 404 (Not Found)
poppins-v5-devanagari_latin-ext_latin-300.woff2:1 Failed to load resource: the server responded with a status of 404 (Not Found)
poppins-v5-devanagari_latin-ext_latin-500.woff:1 Failed to load resource: the server responded with a status of 404 (Not Found)
poppins-v5-devanagari_latin-ext_latin-300.woff:1 Failed to load resource: the server responded with a status of 404 (Not Found)
poppins-v5-devanagari_latin-ext_latin-regular.woff:1 Failed to load resource: the server responded with a status of 404 (Not Found)
poppins-v5-devanagari_latin-ext_latin-500.ttf:1 Failed to load resource: the server responded with a status of 404 (Not Found)
poppins-v5-devanagari_latin-ext_latin-300.ttf:1 Failed to load resource: the server responded with a status of 404 (Not Found)
poppins-v5-devanagari_latin-ext_latin-regular.ttf:1 Failed to load resource: the server responded with a status of 404 (Not Found)
The application is looking for the resources in the root of the website and not in the virtual directory.
Thanks.