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 9 years ago.
Improve this question
I am follow this article and ASP.NET learning site in order to build simple web site. i have database with an objects, each object represent file on dist and several properties (size, name etc...) and i have a question:
After add the controller like in this article (min 1:45) and run my application it navigate into my files page:
And to my file details:
How hard is (i am not new developer but totally new in websites) to change this 2 pages (default looking) to something else / other design ? (i follow ASP.NET learning site guides but sometimes is hard to implement it alone i i want something else)
BTW, i will glad for some screenshots\examples\tutorials for new look
Within the project there is a Content folder, you will find you CSS and image files etc. in here. Your Views folder contains the html and razor view engine. If you are not aware of how to change the structure and look of a website I recommend you start the tutorials here
http://www.w3schools.com/
And for further asp.net mvc help here
http://www.asp.net/mvc
If you are using visual studio, you might try the asp.net mvc template to start a new website project, it has initial design which might be good foundation to start and afterwards you need to change css files to get what you need.
Related
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 4 years ago.
Improve this question
I'm planning to design an asp.net MVC web application which keeps its constant values such as Page Titles, Label Values, Tooltips, Page Headers, Menu titles and etc. in a separate common location.
when I do this research one way to this achieve this expectation, is using resource files (.resx)
So I found this article Create Multi-Language WebSite in Asp.Net MVC – Localization
I did hands-on project, which retrieves label names from layout files and HTML pages and its working properly.
But it seems, usage of resource files (.resx) is to achieve Localization
So I have following ambiguities
If this is not the best way, what are the other alternatives
If this is a good approach, will it affect application performance(like lagging the website than accessing directly from HTML pages)
I don't often use .resx for resources, but that's just personal preference.
They work fine and I have never run into performance issues with them.
For localization and similar string resources, I usually create a JSON file and make it an embedded resource instead. The benefit to this is that it's easier to work with outside of Visual Studio and .NET.
That's just an alternative though. Either practice is fine.
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 6 years ago.
Improve this question
currently I have the web application using Web.Forms. It consist of more than thousand pages and rewriting everything from scratch will be extremely time consuming.
I'm planning to gradually rewrite each page while the others remains as webforms.
Is that even possible? Having mix of DotVVM and Web.Forms pages within single project?
What would you suggest to start with? Ideally I'd like users not to even know that the page looks different. I don't care about URLs as it's admin application.
From what I learned so far I need to duplicate my current MasterPage to the .dotmaster page and then add views for pages I am rewriting.
Thanks for suggestions.
I have created a sample app which shows how to combine ASP.NET Web Forms and DotVVM in one project.
Basically you need to install DotVVM.Owin and Microsoft.Owin.Host.SystemWeb packages in the project, add the OWIN Startup class where you register DotVVM middleware, and add the project type GUID in the .csproj file to make the Visual Studio extension for DotVVM work.
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 6 years ago.
Improve this question
I'm a starter in web developing, weak at php-js-css but have c# experience.
For a new website project I want to use c# but have some problems with the view.
I won't use those standard-looking webform controls that I use for desktop apps, I need a better and modern appearance, a "Bootstrap-like view" for webform controls.
My goal is:
To be not having to learn js-css in detail for this website project, since it will take extra time for me to learn these. I want to solve this problem with c# compatible and easy to use tools / frameworks if possible.
For this purpose:
can I use a such a recommended framework class with c#,
or could just a css template do it,
or is there a 3rd simpler way
It is important for me to choose the right way before I start the project, any help is appreciated.
You absolutely can. You need to use javascript or typescript for the UI and then use Asp.Net WebApi to do any of the server-side functionality. Any of the popular javascript frameworks play very well with WebApi as long as you create the endpoints the correct way.
Here are some tutorials that can help get you started:
Hands On Lab: Build a Single Page Application (SPA) with ASP.NET Web API and Angular.js
AngularJS CRUD Operations with WebAPI, EF and Bootstrap
ASP.NET Web API application with Angularjs Forms and Bootstrap
Creating your first SPA Application using AngularJS and WebAPI – All CRUD Operations
Pluralsight also has a number of video tutorials that are well worth the cost if you can afford it.
Hope that helps.
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 installed Umbraco CMS and created a page with "WebForm1.aspx" but it is showing the error when i am trying to run the project.
Page not found
No umbraco document matches the url '/WebForm1.aspx'.
This page can be replaced with a custom 404. Check the documentation for "custom 404".
Where am doing wrong in this process can any one help me out by providing a way?
.
thanks a lot
As already explained in the comments, there are guides on how to do it, but I'll just go through the steps quickly:
First, go to settings, and create a new template (Your .aspx file). This is the actual definition of the design on the page.
Then go to Document Types, and create a new one, making sure to check the above template as allowed. This defines a type of page users may create and the Umbraco backend, and which designs it's compatible with.
Then go to Content, and create a new document of the above document type - selecting the template you created as template. (You may need to add your newly created document type to the list of allowed types (structure tab) under the document type of your root node).
After you've created it, make sure to publish - and there you have it.
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 9 years ago.
Improve this question
I've tried jumping from iOS development straight into web development but I am having a VERY difficult time.
First off, I DO have a very basic understanding of HTML, SQL, OO programming, MVC, PHP, etc.
I am also capable of creating a basic C# console application.
What I don't understand as at all (PLEASE bear with me) is where the files go. Where and how do I upload the files to a server? I don't even really have a full understanding of how the project runs locally... where is the C# held and how is the HTML dished out to the browser? How does the C# get executed? I've searched and searched for tutorials but they all seem to assume you have already done this type of stuff. Is it so easy that I'm over complicating it?
I need a tutorial that walks me through the entire process. Not just a piece of it. I want to create a web application, test it locally, AND upload it to a production server (that I have at home or that is hosted else where)
To learn MVC try first steps from this site: http://www.asp.net/mvc
Atleast, most part of main mvc things are explained there. Materials are presented in video and text variants. Just install VisualStudio and make your first MVC application from the existing template.
For CSS/HTML will help this sites:
CSS => www.w3schools.com/css/
HTML => www.w3schools.com/html/
For Asp.net refer below link.
http://www.asp.net/get-started
For c#:
http://csharp-station.com/Tutorial/CSharp/Lesson01
You can also refer other site like - codeproject.com
It contains a lot of basic article to get started.
And During the development phase if you stuck somewhere then we (stackoverflow community) are here to answer your question. :)
Best of luck.