Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
94 views

What are areas in ASP.NET Core projects? I've been developing an application using the modular monolith design and a few example applications I saw used areas along with the MapDynamicControllerRoute()...
CortezZ-1's user avatar
0 votes
1 answer
59 views

In my ASP.NET MVC project, I have areas that have a certain name like Admin but I'd like my route to use iAdmin. For that I use the RegisterArea where I can specify my route, and it work well : ...
Le Gros-Porteur's user avatar
1 vote
1 answer
131 views

I am working on an ASP.NET Core 8 project where I have MVC public section Area -> MVC Admin section Area -> Razor pages Identity area Also I have localization to run application in English and ...
Fakhr Alam's user avatar
1 vote
1 answer
163 views

I'm working on a dotnet application that is using localization. I'm stuck on understanding where my .resx files are supposed to live. The current file structure looks like this: - Root - Views ...
DA2.'s user avatar
  • 87
-1 votes
2 answers
494 views

I have project with areas and normal controller in it. But Area routing is working but normal controller is not working. Working, but Areas routing is returning 404 : app.MapControllerRoute( name: ...
Abhijeet Patil's user avatar
0 votes
0 answers
86 views

I have an existing ASP.NET MVC application (on .NET 4.8), and I have recently added an area to the application (area is registered and the route is mapped). When I deployed the app to IIS, it works as ...
Mahdi Khardani's user avatar
0 votes
1 answer
69 views

I've got an issue with ASP.NET MVC routing for areas. I set up the routing with language without areas, and it is working fine. Myrouteconfig.cs: routes.MapRoute( name: "LocalizedDefault&...
nawaz uddin's user avatar
0 votes
0 answers
331 views

I am going to build an ASP.NET Core 6 MVC application with SQL Server 2019. The possible users of my application are employees and students. The employees may be teachers, accountants, managers. The ...
Fayyaz Ahmed's user avatar
2 votes
0 answers
630 views

I have set up a Azure B2C OpenIdConnect system for our website using Microsoft Identity Web (https://github.com/AzureAD/microsoft-identity-web}. I could sign-in and out of the system with out issue. I ...
nejohannsen's user avatar
0 votes
1 answer
567 views

I am testing how to build an action link to a page in another area, and every source I find says to use Html.ActionLink("[Link Text]", "[action name]", "[controller]", ...
bmurrell30's user avatar
1 vote
1 answer
1k views

I have an area in my ASP.NET MVC application that needs to make use of partial views stored in the main application. The code in question is being migrated from the main application into an area for ...
bmurrell30's user avatar
0 votes
1 answer
248 views

I have a problem with controller actions not returning views. They are looking in the wrong area. I'm new to core but I've tried to read up online for material and I'm seeing a lot of Global.asax.cs, ...
Developing Developer's user avatar
3 votes
1 answer
5k views

I used the default method to create an area. Right-click on project and add a new scaffolded item. Selected area, gave it a name and it created the folder structure. My area is called Login. I created ...
Rob Stewart's user avatar
0 votes
1 answer
165 views

Is there a way to get the ASP.NET MVC area in the global.asax, specficially the method below? public override string GetVaryByCustomString(HttpContext context, string arg) { if (...
Mike Flynn's user avatar
  • 23.4k
0 votes
1 answer
599 views

I'm trying to use Areas in my ASP.NET Core ABP project like so: Folder Structure I'm trying to add a single file bundle like this: <abp-script src="/Areas/Community/Pages/Mentors/Index.js"...
Chad Boettcher's user avatar
2 votes
3 answers
2k views

Currently, I created a ASP.NET Core Web app using VS2019, came across that 'Add Areas' option is missing from Context menu. I tried this solution and Add New Scaffolded Item but there is no MVC Area ...
Ali Ghanaatpisheh's user avatar
3 votes
3 answers
20k views

The below image shows the project structure I am working on: Inside Areas -> Billing -> Views -> _viewstart.cshtml, I have specified the path to the layout which I want to apply to the ...
Ali Sultan's user avatar
0 votes
1 answer
3k views

I have following HTML <a asp-area="Admin" asp-controller="Page" asp-action="PageTexts" asp-route-pageId="1"> Homepage </a> which generates ...
Muflix's user avatar
  • 6,896
0 votes
1 answer
266 views

I'm migrating an old MVC web application from Visual Studio to Visual Studio Code, and am using .NET Core 3.1.301. The application uses areas. I'm attempting to create a link from this site's home ...
Ken Palmer's user avatar
  • 2,485
0 votes
2 answers
1k views

I have created a blank template MVC project with user accounts in Visual Studio 2019, i.e. ASP.NET Core Web Application -> Web Application (Model View Controller), Authentication = Individual user ...
RiddleMeThis's user avatar
0 votes
0 answers
167 views

I've joined a new team who are maintaining and updating a large enterprise MVC 5 application with razor views. On top of the main web, we have a bout 20 different areas with a shared layout 5. We're ...
user1531921's user avatar
  • 1,452
0 votes
0 answers
421 views

Application -> Area -> Customer -> New Customer 1. NewCustomerListController.cs 2. NewCustomerImportController.cs -> Old Customer 1. ...
Sujit Patel's user avatar
0 votes
0 answers
688 views

I can't quite wrap my head around this problem, When a user navigates to the admin URL, they are redirected to admin specific account/login page (located in admin Area's folder). But when the admin ...
codeOverLoad's user avatar
0 votes
0 answers
374 views

I am trying to create one .NET Core MVC app that serves up different content (that i defined as areas) based on the domain. I am using a constraint that will serve up the appropriate area based on the ...
user9871834's user avatar
1 vote
1 answer
115 views

I've recently started a new project and I'd like to expose an API. Should I put the API controller in a special area (e.g. API) or should I just put them along with the other controllers, or even mix ...
A.naam's user avatar
  • 415
4 votes
1 answer
1k views

i'm using .net core 3.1.1 in mvc area when i use asp-action like this <a asp-action="Index2">Index2</a> it does not properly create the link I want (Does not create area name) ...
Mohammad Aghazadeh's user avatar
1 vote
0 answers
130 views

I'm currently working on a .Net Core 3.0 project and I'm having trouble with the default routing using the UseEndpoints in the Configure function in start up. app.UseEndpoints(endpoints => { ...
Viðar Einarsson's user avatar
2 votes
1 answer
705 views

I have created an Area named B2b in my ASP.NET MVC application, and I have also created a sub-folder called Shopify under this area: In order to register the Shopify sub-folder, I have created a ...
Hooman Bahreini's user avatar
0 votes
0 answers
342 views

I hope someone could handle my issue. I am working on ASP.NET Core MVC, in which I have successfully added Telerik UI ASP.Net MVC(Kendo). I can use now the wizard and widgets in _layout, But The ...
Ashkan Pirmani's user avatar
0 votes
1 answer
515 views

I am working on an e-commerce website. The website connects to several 3rd party applications, such as Shopify. I have created an Area for this purpose and called B2b (business to business)... I ...
Hooman Bahreini's user avatar
1 vote
1 answer
3k views

This is a simple question and I'm just asking out of curiosity. I've set up endpoint routing to area as such: app.UseEndpoints(endpoints => { endpoints.MapControllerRoute( ...
toy's user avatar
  • 481
1 vote
0 answers
579 views

Server Error in '/' Application. The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, ...
Karan Pophale's user avatar
4 votes
0 answers
406 views

I'm afraid that I am at the end of my tether and cannot find a solution. I have exhausted my Google-fu abilities and am now having to ask for help. I'm afraid I am a novice and that this may be simple,...
Thomas Hussey's user avatar
0 votes
1 answer
945 views

Today I updated visual studio 2019 to version 16.3 to 16.4 but problem that i am unable to see or add Areas in my current project solution explore how to solve this problem ?
User's user avatar
  • 1,373
-1 votes
1 answer
235 views

My project was rebuilt into folders called "area", everything worked before and the user was authorized to the account management panel. After adding these areas, the project cannot see where it ...
user avatar
0 votes
1 answer
198 views

I created an area named Hello in a solution named XYZ. I then created a nuget package from this solution and referenced it into my solution named ABC. Now I'm facing issue with routing or I even might ...
user3087739's user avatar
6 votes
2 answers
3k views

What I want to achieve Mapping my normal domain e.g. example.com to no area if possible. Mapping my subdomain e.g. blog.example.com to a area named blog. What I have found There are actually quite a ...
Twenty's user avatar
  • 6,221
1 vote
0 answers
38 views

http://localhost:55201/SERVICES/customers/CALLME how to make this link using @Html.ActionLink Services is RouteArea, Customers is RoutePrefix and Customer is Controller @Html.ActionLink("Click me", ...
Deepak Kelath's user avatar
0 votes
1 answer
383 views

I've created the project in ASP.NET MVC with two areas, and its structure is on the picture: When I start it, it takes one of two routes depending on the IP address of the user. the code itself is ...
Сергей Чащин's user avatar
-1 votes
1 answer
89 views

I need to create separate database for area in a project. I don't want to join two database together. is it possible or not ? Actually I wanted to have totally separated projects in one solution but ...
iDeveloper's user avatar
  • 1,725
0 votes
1 answer
599 views

When a user logs in. I'm looking for a way to route a user to the correct area based on their role in identity. I've tried: You have the default controller that you can redirect to that area return ...
54 69 6d's user avatar
  • 165
3 votes
1 answer
18k views

I have an API controller hosted in an area. However, the routing doesn't seem to be working as my ajax calls keep returning 404's when trying to hit the controller actions. Breakpoints in the ...
charles082986's user avatar
2 votes
1 answer
1k views

How can one include an Area in the UrlHelperExtensions.Page Method? The docs don't mention areas. When I want to link to a page in an area (in my case Identity) the page name is not found: var ...
Bijan's user avatar
  • 26.6k
0 votes
1 answer
407 views

I have this working but in an inelegant fashion (1) Angular This puts it's output in the folder ~/Areas/AreaName/Views/ControllerName/ClientApp/(all angular files here) It has paths like <...
tony's user avatar
  • 2,412
0 votes
1 answer
200 views

I've recently taken on the task of merging 2 apps with a decent amount of overlapping functionality into one app. I'm using Vue as the front end library and consuming data from a .NET core back end. ...
db2's user avatar
  • 306
1 vote
2 answers
156 views

I have a BaseControllerwith an errorview function, which works fine: public ViewResult ErrorView(string error, string errormessage) { ViewBag.ErrorType = error; ViewBag.ErrorMessage = ...
Daniël Camps's user avatar
0 votes
1 answer
542 views

Open a new ASP.NET Web API project in Visual Studio 2017 Community (or whichever edition) and run it and you'll see a welcome page with an API hyperlink. Click the hyperlink and it takes you to the ...
Water Cooler v2's user avatar
1 vote
1 answer
864 views

I have an area name HR. here is the HRAreaRegistration.CS namespace WebApplication1.Areas.HR { public class HRAreaRegistration : AreaRegistration { public override string AreaName ...
Bryan Dellinger's user avatar
2 votes
2 answers
248 views

I have one ASP.NET MVC application which also has areas in it. For short URL I have set route all actionmethods with short URLs in RouteConfig of areas like below. //admin dashboard having short URL ...
3 rules's user avatar
  • 1,381
5 votes
2 answers
4k views

I am trying to load a razor view from another project. I have gone down a few different rabbit holes but so far I have not found a way to make this work. However, from my research there seems to be ...
Swazimodo's user avatar
  • 1,269

1
2 3 4 5
12