how hide menu link when submenu are hidden in .net core
Hellow my dears. i use asp.net core and identity authorization in this. my side menu is static and I want to create menu and sub menu.my problem is when i hide sub menus of a menu,menu show to user but...
View ArticleDisplay image and text
Good evening everyone!!! Sorry, I don't know the right keywords to search neither do I have idea on how to go about this. Please, I designed a blogging site and everything is working fine when only...
View ArticleReference non-core dll from core app
We are using a group of third party webservice dlls in our apps. I have been trying to develop a .Net Core version of an app, but as soon as it hits the non-core dll, it throws an error loading one of...
View ArticleIn need of direction for project
Hello: We're hoping somebody here can help point us in the right direction for a web based project we're working on. Based on user-input, we need to generate a diagram using real world units and render...
View Articleerror in logging when authenticating against active directory with asp.net...
I'm implementing an asp.net core project and I'm trying to authenticate the user login via ldap to active directory. I'm using the below link...
View ArticleMVC Core 3.1 I need to display multiple images (with transparency) on top of...
LS, I need to display one image that is made up of multiple images with each a transparency. So image one has a bike on the left and the rest of the image is transparent and the second image has a car...
View Articleproblem when publishing asp.net core project on a server
I'm implementing asp.net core project. I published my project into a package and set it on a main server, but, the database was set on another server. To do that, in the part of connection string of...
View ArticleI can not connect to the web service
I need to get data from a web service described as:curl --header 'Authorization: Bearer fxTWi96Uxe97gsstB3kh99VNKRuuaW3s_1615442626' -X GET 'https://api.muztorg.ru/xvendor' When calling a...
View ArticleMVC4 using JWT tokens
I have a Security API which creates a JWT token and works well with SPA front ends that we create with no issue. Now I have been asked can I get this working with a MVC app that was built in MVC4 and...
View ArticleC++,Jquery, SQL MVC, produce Excel pie graph?
Hey chaps Young programmer here. Does anyone know how to produce an excel pie graph in excel through MVC C+, Jquery or even SQL? I have the pie graph with rows 1 to 10 and would like to produce a pie...
View ArticleUpdating two related tables in asp.net core
I'm implementing asp.net core project. In my Controller class, in its Edit method, I wrote some code like below:public async Task<IActionResult> Edit(int id, ApplicantViewModel applicant) { var...
View ArticleASP.Net MVC: When to use HttpGet and when to use HttpPost for action
many time i create action in controller and decorate them with HttpGet or HttpPost verb and call those action by jquery ajax and action return json to client side. i got no difference when i change...
View Articlereturning null value from populated selectlist with DB data
I'm implementing asp.net core MVC project. In my controller class called ApiApplicant, Create method, I have 3 selectlists that its items should be populated from a table called APIApplicantHistory. My...
View ArticleGenerate an MVC Project Folder and Files Using Web API 2.2
Is it possible to generate an MVC project folder and files using Web API 2.2? I'd like to know because I need to generate MVC project folder and files dynamically.
View ArticleSecuring a Web Project Using ASP.Net
Suppose I have a web project that is made up of a Web API, a bunch of HTML files, and some Javascript files. Is it possible to provide security to my project files with nothing more than a login page...
View ArticleSet route in net core api
Hi all, how do I set a route ( or attribute or whatever ) so I can call this method which is present in a net core api controller ? assume my controller is called MyController - I've googled endlessly...
View ArticleSingle login for two web apps (WebForms and Core API + React)
Hello everyone, I'm searching online but can't find any meaningful article, so I hope you can help or provide some links. We have an old ASP.NET WebForms app using Membership for login. Now we need to...
View ArticleIServiceCollection / DependencyInjection issue
In our web app, as expected, the DbContext for our data is injected with DI. It is registered with this extension method (the one that take a Func<> factory method):publicstatic...
View Articleinsert data into list from form and
Hello I am working on a project where I must be able to display information recorded via a form in a datatable without going through the registration of the database, I suppose that it will be to...
View ArticleSome GridView controls are running empty rows. Any ideas to fix
Greetings again, Please forgive me for posting too much code. I am trying to post something that gives an idea of what I am struggling with. Looking at the code, you can see there are 7 controls,...
View Article