Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I have an application that is split in to multiple controllers. However, a number of the views can be shared between the controllers. Normally I could include such in the Shared folder, but I feel at time this becomes a folder for pollution where everything gets dumped in there.
So for partial views, where is the best and normal place to include views shared between controllers? Should I continue to include them in the Shared folder or is ok to reference partial views in full views that do no exist in the same folder?
Create subfolders in ~/Views/Shared if there is too much there.
in the shared there are files like the MVC master page.
You can open a folder in the View folder, called shared Views...
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 days ago.
Improve this question
I need to create an internal page where there are links to approx 10 files. These will be HR compliance forms and training manuals. Just a list of links, no frills. I started going down the sharepoint path but it seems too complex for what I need. Is there a way to create a 1 page link that will open in a web browser and just list the files in a specific folder? THe files are already stored on a network drive all users have access to. Thanks!
I tried sharepoint but it involves setting up on a server and seems too complex for my needs. T
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
assuming we have a symfony application with several modules
how we can have a .YAML file for each module
and how we can load this last without loading YAML files from other modules
thank you so much
You cannot load a given config file on demand. Symfony uses compiled container so it's static.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
my question is, should I separate firebase app and function and hosting projects?
put it in different folders like:
app
hosting
functions
or put it in the same folder and thats it?
The main idea of folder is to separate the resources and create an structure with different organizational accesses, as is mentioned in this article
If your projects and their resources are not interconnected using folders could be useful to quickly identify a project category and you can create some sub folders with the stage of your projects.
For example
app
-- DEV
-- PROD
-- Q&A
For more information about folder please check this document
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have an Asp.net MVC website that is hosted in Azure Websites. It uses dlls to access databases etc.
Can hackers potentially download those dlls?
No, dll files in the bin folder can't be downloaded. The web server excludes certain file types and folders for download.
A hacker could of course potentially get the files, but he would have to hack into the server and access them as files directly, it can't just be done by downloading them.
Basically: no.
Of course, if you open up the web site permissions, and move DLLs to places they should not be, etc - all bets are off.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
How to share class library for more than two asp.net projects,without duplication.
All projects exist on the same server.
If you install the assembly into the GAC it will be available to any application that wants to reference it.
http://msdn.microsoft.com/en-us/library/dkkx7f79.aspx
Note: This typically isn't how I like to build applications because if you have all of your assemblies in a lib folder then grabbing a copy of the solution from source control gets the developer a solution that will compile without having to go through additional steps like installing separate software.
From within Visual Studio, when you reference an assembly, you can pick the source location, so you can have two separate projects that reference the same DLL with no issues.