Suppose I have MVC application with some static and dynamic web pages. How to add search feature for such site?
I dont want to create simple page searching for the data contained in database, I want to be able to index whole pages as they are displayed to customer.
Any solution for ASP.NET MVC4/5?
Shell I use existing solution (which?) or create my own one ?
Disclaimer: it's the product of the company I work for.
You can use SearchUnit for indexing/searching MVC web sites. There's a free Community version, and a more powerful paid version.
I don't know the specifics of what you need, but it's easier to use and more rounded (eg. includes spell checking, many document format parsers) than other options such as Lucene (IMHO, let me know if you disagree).
MVC specifics are here.
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 currently working on building a simple website.
First time working with WEB technology.
I'm interested in building a website that is quite similar to 9Gag.com.
I can't manage to figure out how they create links and pages for each and every post that they have. I've been looking for a while but I can't seem to find the answer.
I would love if you guys could give me a hint or something.
Basically I just want to create dynamic pages for each post.
Thank you for your knowledge.
It looks like every item on that site has similar page layout and a URL in the form of /gag/[id]. That's about the simplest thing in the world to create. If you're struggling with that, you need to just spend some time going through the ASP.NET MVC tutorials. The only slightly complex part is that instead of some numeric id or a guid, they're using an alphanumeric id like you typically see in short URLs. That's purely stylistic though.
We are evaluating Windows Workflow Foundation 4 to use in MVC 3 based Web Applications. We would like to create flexible order workflows for different projects.
Does anybody know good information about the general architecture or hands-on-labs for this kind of application?
Some concrete questions would be:
how can you activate a specific controller/action from the workflow?
what is the best way to communicate between the workflow and the web application (events, wcf services, ...)?
This is a nice article on how to start working with WF4 in your ASP.NET MVC app.
Integrating a persisted WF4.0 workflow with mvc
Another example with video is at below link. (Note: The code attached in the link might not be executable, but it will give some concepts when you study the code and watch the video)
https://channel9.msdn.com/Shows/Workflow-TV/endpointtv-WF4-in-the-Real-World-Microsoft-Support-ASPNET-MVC-Wizard-Framework
This link is showing how we can preserve the data between requests using tempdata. Since it is a large explanation, I am not repeating the same again here.
Sadly, the videos for this seem to be down but the docs seem to try to show you a way!
Sourced from an old post/response from 2009. An alternative is found on CodeProject.com, which is also quoted on this one with a longer list of resources.
I'm new to asp.net mvc world. Are there any cms system based on asp.net mvc like drupal (php, cms, plugin modules). I dont like dotnetnuke because they use webform and difficult to extends.
thanks
Without having too much Drupal experience, Umbraco is a nice choice if you want .NET (despite the fact that they have an animated favicon). There's professional support also if you need it.
I am surprised nobody mentioned Orchard.
Basic Orchard Concepts
Orchard is a Web CMS, which essentially aims at helping you build web
sites from existing pieces. Those pieces come in a few different sizes
and shapes that need to be well understood if you're going to be
productive with them. This article will go through those pieces and
explain their names and behavior.
More info: http://docs.orchardproject.net/Documentation/Basic-Orchard-Concepts
BeerHouse.
From their website:
TheBeerHouse is a website developed with pure ASP.NET 2.0 which includes a number of features and modules that you expect from a typical CMS / e-commerce website, such as:
* Layout with user-selectable themes.
* Membership system with registration, login, profile setup and complete administration.
* Content management system for publishing and syndicating articles and photos, with support for categories, comments, rating and profile-based personalization.
* Opinion polls with support for multiple active polls and archived polls.
* Mailing lists with support for HTML and plain-text newsletters, background transmission and real-time AJAX-based feedback.
* Forums with support for multiple categories, custom pagination, avatars, signatures, moderation, and complete administration.
* E-commerce store with support for real-time credit card processing, with support for multiple categories, percentage discounts, zoomable pictures, ratings, availability display and more.
* Homepage personalization with webparts.
* Localization.
I didn't think DNN was difficult to extend, but I don't have much experience with it. ASP.Net MVC wise there isn't a huge amount, which isn't surprising considering it's not actually out yet :-)
The main, if rather simple, one is Oxite which is on CodePlex. It wasn't considered a particularly "good example" of MVC when it was first released, but there's been quite a lot of refactoring help from the community so it's worth looking at. It is only a relatively simple blogging thing though, rather than a full on CMS, so don't expect Drupal :-)
I'm currently playing around with the N2 cms. I've not got my head fully around it yet, but you can plug it into web forms or asp.net mvc (they have some sample sites for both platforms). It can use a wide variety of database platforms as well due to nhibernate. It basically sorts out the back end so you can concentrate on the front. N2 cms click here
I can recommend to use MojoPortal, it has a great Framwework and it works perfectly on Linux and Windows :) the url is => http://www.mojoportal.com/
you can also have a look at: http://cmsmvc.codeplex.com/ which is a CMS built using asp.net mvc with plugin and theme support
There is a project going on to port Drupal to .NET platform named Drupal.NET which is currently under development.