I am looking for a charity template to help my friend to make a website for a non-profit organization.
But I don't know how to program in PHP, I already know ASP.Net MVC 3 and C#.
I found out a nice template: http://osc4.template-help.com/wordpress_30418/
but is just for wordpress, does anybody know if is possible to adapt it to use with ASP.Net MVC, or Orchard?
Best regards,
Tito
It would require a lot of work. You should be able to strip away the php and fill in the appropriate Orchard code. Your first goal could be to do remove the PHP. Then mock in the HTML to get it to look right then change it to use Razor. The top is flash.
Related
I have a complete working Website in Laravel 5.1 and want to Migrate the entire code into ASP.NET MVC 5.x. Is there any easy way to do this? Thanks
Simple answer NO.
Long answer:
Learn ASP.net if you don't already know it
Code the website according to what you need
Note: There is no copy-paste solution, if that's what your looking for. I don't think anyone will create something to 'translate' a laravel (php) to asp.net
There are options to help you along the way:
1.Migrating from PHP to ASP.NET
2.Migration assistants
3.Online conversion
As you can see there are helpers, but I wouldn't rely on them. As you might already know mvc works with different folders, controllers, models, views etc. The conversion tools won't exactly know how to deal with them, so you will have to edit them afterwards, which might take you more time to get a grip on how and what was converted in stead of just coding it all over.
So to "convert" a laravel website it would at least require that you convert all files in your laravel project folder. Just thinking about it, I wouldn't want to go that route.
I'm starting a new project, based on ASP.NET. The application will be a registry with a web interface. It will be used by ca 3000 users.
It has been ca 4 years since I last started a new project so I'm a "bit" rusty when it comes to the latest trends..
I wish the new application to be SPA so I investigated some Javascript MV* frameworks and finally settled on Durandal, Bootstrap (for layout) and Telerik's Kendo UI with ASP.NET MVC helpers.
I installed a template called Hot Towel, which created a ASP.NET MVC based Durandal project setup. However, I see that Views are html not Razor's cshtml. Can I still use cshtml files (for helper classes to work)? Is there any downfall in this?
Also I heared a discussion that when using Durandal, one shouldn't use ASP.NET MVC but rather just Web API. What do you think of that? I'd still like to use MVC helpers here and there..or is there a good reason for abandoning it for Web API?
Do you have any other considerations and recommendations on a new project setup?
Best wishes,
Andrew
Someone who knows a more about durandal than I may be able to shed some light on the part of using cshtml views. I would imagine that you would have to override the viewLocator and point it to controller actions rendering partial views??? (you need them to be parsed by the Razor engine to get valid HTML).
As for using regular html files, I have used a fantastic library called knockout-kendo
for using kendo UI components in SPA applications. I find it just as easy to use as the HTML helpers, all while keeping the application a true SPA, and you then serve up all of your data via WebAPI controllers.Hope this is of some help.
EDIT: Perhaps you can also have a look at this answer How can I use cshtml files with Durandal?. There are a few answers there that seem to be doing what you are looking to do..
Im looking to make the editor templates in my MVC application use HTML5 input types. The framework seems to get about 80% of the way there but there are a couple of things I can't seem to make happen (step values on numerics, placeholders, URL inputs, etc).
I'm sure that quite a bit of this is just me not knowing where to look, but
Is there a definitive list of what attributes I can use on View Models to provide the metadata used to generate the html?
Does anyone know of a project / nuget package that helps with this? I'm not opposed to writing something, but would rather use something that's already been tried and tested. Dean Hume's ASP.net MVC HTML5 Helpers Toolkit is close, but I'd like to put as much information in the attributes as possible and let the runtime do the work via Html.EditorFor (just a personal preference).
Thanks,
Joe
Check this out : http://weblogs.asp.net/rashid/archive/2010/10/21/integrate-html5-form-in-asp-net-mvc.aspx
See if it can help you get started.
In Wordpress, I can enable wp_comments to show the commenting system.
I want to write code so that whenever I write comments in HTML markup, it calls my comments written codes.
How can I achieve this in ASP.NET MVC or ASP.NET web forms?
There are several ways to add comments to your ASP.NET MVC 3 web project.
1. Develop a comments section within your application
If you wish to create bespoke commenting functionality for your site, this article gives you a clear walk-through on how you can achieve this.
2. Integrate third party comment service into your website
Alternatively, you could use a third party service like DISQUS and integrate it into your app. Here's a link outlining how to do this.
There's no 'out of the box' commenting system for ASP.NET. Also, you can't really compare the ASP.NET MVC Framework with Wordpress as they are completely different.
Since you have specific functionality (outputting HTML markup), I'd recommend option #1.
Wordpress has its popular 'Sociable' plugin which lets you choose from all the popular sites such as digg, stumbleupon, del.icio.us etc. and then gives you a little list of thumbnails.
I'm wondering if there is an equivalent 'plug-in' for ASP.NET - preferably something that can easily be made into an MVC Html helper extension method.
I preferably want something that I can just update when new things come along - and don't want to have to read the documentation for all these different sites to know what parameters to send.
There are no such plugin or extension for asp.net mvc. But I'm sure you easily can create it :). And you don't need to "read the documentation for all these different sites to know what parameters to send" just look at the source code of a wordpress plugin and you'll find all necessary information there for supported sites.