I want to know if there is such concept in MVC4 (or other versions) like "Theme". I'am a total newbie using MVC, but I have some experience making simple Wordpress websites, using cool themes available on the web. Is there a way to get themes for my MVC project? I mean, some custom views and CSS, that can help with front-end.
this link will help you. You can plug these into your MVC app to get you going bootstrap skins
Related
I've inherited an Asp.Net webapplication using webform, and are trying to find out how to best migrate this to a more modern architecture.
I've decided to use Asp.Net Core for my new backend (moving existing logic into this new Asp.Net Core project), and I'd really like using Aurelia for my client-side logic/views.
What I'd like to do is to replace existing functionality "one-by-one" with Aurelia components communicating with the new backend.
The problem is how to bootstrap the application without Aurelia "forcing" app.html to be the initial page.
I'd like to keep the current startup page, site structure and routing, and just develop components in Aurelia that I can add to the existing webform pages.
I'm totally new to Aurelia, so please be gentle if there is an obvious answer to my question. ;-)
Regards,
Jon S.
Thanks to a member of the Aurelia Community, I was able to locate this in the docs:
http://aurelia.io/hub.html#/doc/article/aurelia/framework/latest/app-configuration-and-startup/8
...which is exactly what I was looking for!
I'm building a site which mainly has articles and I'm using ASP.NET MVC 5 framework. I want to have an admin page where I can add, edit these article content.
I'm having a problem with designing the structure of this project.
I'm thinking of having a controller class called 'adminController', where I handle all the requests related to content management.
Is that approach conceptually correct in ASP.NET MVC? Because If this was an ASP web forms project, I would simply have two different projects called Public and Admin in a single solution.
I'm quite new to ASP.NET MVC framework and I'd appreciate any help.
You can do 2 separate projects and can do one.
Since ASP.NET MVC 4 whe have Areas and i suggest you to use it if you want structure your project and separate admin logic from public.
Here is a tutorial that you can check that explain whar areas is and how you can work with them.
Currently I am using umbraco 4.7.1 and planning to upgrade to version 6. But I will only go ahead it it allows PURE MVC approach. Here what I mean is I DON'T want to use any of ASP.NET like master page for templates. Everything should be in MVC
You can create a site in Umbraco 6 using just MVC including layout pages and all the other MVC bits, i.e. not master pages.
The administration section of Umbraco isn't MVC though, but that just works as usual. I havn't tried to add any MVC admin sections myself yet.
I'm building a pure MVC site in Umbraco 6, it's my first MVC site but it's all pretty much like the MVC book says.
When I create views etc. in Visual Studio, sub folders don't work well in the Umbraco admin section, it doesn't do sub folders very well. Also you have to set up your own version of the application start, which is no real problem but apart from that it's all sweet.
Currently I use Umbraco 6.1.3 and master pages are there. You can use old ASP.NET approach or MVC approach.
I'm just starting a project with ASP.NET MVC 4, and I'm wondering how I should handle the layout management? I'm not very experienced with Web layout management in the first place, but I'm aware that Blueprint is a popular option and that in the Rails world Susy would be a good bet. Should I just go with Blueprint? Is there anything I should be aware of as regards the integration with MVC 4?
Well, as an alternative to what you self mentioned (Blueprint) I can strongly recommend Bootstrap from Twitter (http://twitter.github.com/bootstrap/). I have been using this myself in projects with ASP.NET MVC 3 and ASP.NET web forms.
Bootstrap from Twitter is open source and you can find much information on the Internet (i.e many problems you may encounter have already been solved, just Google them). Bootstrap from Twitter "supports" many browsers (computers, smartphones and so on), big/small screens, jQuery...
Good day!
For PHP framework CodeIgniter exists 'app-framework' BackendPro:
What I mean by this is it provides you with functionality to do all the simple repetitive tasks like authentication, permissions and a basic look and feel for your websites control panel. So using your current PHP and CodeIgniter knowledge you can use BackendPro to built a fully working website quickly since you can concentrate on your application instead of the bits to manage the system.
It helps a lot with building quickly backend of the site (grids for entities, common CRUD interface, login\logout etc you know :)). In fact it is a stub for a backend. Does something similar for ASP.NET MVC exists?
Thanks in advance!
You could be interested in this and following articles by Steve Sanderson:
Scaffold your ASP.NET MVC 3 project with the MvcScaffolding package