Build A Drupal-like CMS In .NET MVC ?
Mar 2, 2010
I am new to ASP.NET MVC, and the ASP.NET technology in general, so, please, excuse the stupidity of my questions. I have a lot of experience with php development and CMS customization (Drupal and Wordpress mainly), and I wanted to know whether some techniques could be applied in asp.net mvc. I want to know what exactly could be modified without recompiling an already built application
Can I edit the views without recompiling the app. Can I create custom themes ?Can I add plugins compiled as dlls and use them at runtime. Can I "mark" the assembly in such a way that the web application will check on the next request and will reference it, without me manually adding it to the project and recompiling. I've heard that this is possible.
I will make sure to add more when something comes up. The reason I am asking is because I'd like to try and develop a Drupal-like CMS (custom types, views, etc) in asp.net mvc. The dynamism of php will be quite a challenge to replicate in a compiled technology, yet I am ready to try.
View 2 Replies
Similar Messages:
Jan 22, 2011
I am tryin to rebuild a website designed in asp.net.But,being an informative site it has a lot of content in it which i dnt want to input to the database manually.can ne1 help me out with any drupal module to migrate the asp.net data in sql server to mysql db in form of drupal architecture??say for example a page in asp.net is displaying data from a form.Can i migrate it in form of cck and get the page data as nodes table.
View 2 Replies
Dec 10, 2010
Is there any good CMS for ASP.NET like drupal, joomla ?
View 2 Replies
Apr 1, 2011
I have a question regarding a situation that occurs with GridView, ObjectDataSource in ASP .NET application. The GridView is linked to the ObjectDataSource and both are included within an UpdatePanel letting the GridView to fill in an asynchronous way from a form in the same page so it gets more rows as the user enters the data:
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataSourceID="ObjectDataSource1">
<Columns>
<asp:BoundField DataField="Name" HeaderText="Name" ReadOnly="True"
SortExpression="Name" />
<asp:BoundField DataField="Periodicty" HeaderText="Periodicty" ReadOnly="True"
SortExpression="Periodicty" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
SelectMethod="GetSessionNames" TypeName="Simulation"></asp:ObjectDataSource>
<asp:Label ID="Label27" runat="server" Text="Label"></asp:Label>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="NewWebSessionButton" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
I start the project with Visual Studio 2008, fill the form and it works correctly. Then I stop the execution: rerun again and the data I entered in the previous run is in the GridView. Is like some sort of cache saved the data from the session before. I checked that EnableCaching property is set to false for the ObjectDataSource. If I Rebuild Web Site in Visual Studio (not just Build) then it works corretly leaving the GridView empty. Is this caused just becuase of Visual Studio? Can it be turned off? And will it happen in the final IIS it will run on?
View 1 Replies
May 25, 2010
I want to build a survey system where you can build a form with questions and some answers to these questions and then members who will log in will be able to take the test.
Then i want to present the different results from the test in some diagram or something like that.
View 5 Replies
Nov 13, 2010
I got the first beta of WebMatrix, downloaded Drupal, and got a site more or less going. I then tried to move it to two different hosts - first the IIS server running on my own domain controller, then to my hosting service. I dumped the DB with mysqldump, and imported it to the databases running on each server. Then I ftp'd the code and configuration files to both servers, and made appropriate configuration changes (primarily the mysql connect string).On both servers I have the same problem: The site comes up in its home page and looks great, but as soon as I log in as the site admin, I get a 404 (not found) error. Since it looks like virtually everything in Drupal is driven from the database, I really haven't the faintest idea where to start debugging this.
View 3 Replies
Mar 11, 2010
It may be obvious to everyone. I am learning this: what is difference between build solution and build website
View 2 Replies
Sep 22, 2010
I have a large solution which has multiple apps which all share some common site elements (masterpages, navigation, etc).
Currently, all of these get built into a single DLL
If my structure looks like:
WebRoot
- Common/
- Shared/
- Images/
- App1/
- App2/
- etc
Is there a build tool which will allow me to build WebRoot.dll, App1.dll, App2.dll? I don't believe this is possible in VS2008 or the MSBuild tool.
View 2 Replies
May 11, 2010
I have a TFS build set up to deploy an ASP.net project to a test server.The build works great, and deploys to the test server fine, but instead of putting it into the Website directory that my IIS webserver is configured for, it puts the build into Website_20100511.6
Why is the date suffixed to the directory name? Is there a way to turn that off so I can publish directly to the Website?
View 1 Replies
Jan 15, 2011
I need to build web application that will do:1 - build web pages. 1a - build template for page. 2 - add module(by module I mean ContacUs form, Search, Billing System...). Each module can be constructed by submodules or diveded to submodules 2a - build module(add form, textbox, button...) and that all
entered data by user could be saved in dbCan you advise me a DB structure that will contain it allI looked some cms db, but it's NOT this. Please, don't ask why I mess with it. I just need to build it.
View 2 Replies
Jan 29, 2010
I'm thinking about building my own web server, from scratch, to host websites on the interweb. What recomendations could you consider before starting? Or, is it a dumba$$ thing to do, and not worth it? The reason I am even considering it, is because I have seen ALOT of .NET jobs that require Windows Server/MSSQL Server (DBA) experience. Hey, why hire 2 people, when one can do it all. Just trying to kill all birds with a bazooka, before making a profit with a corporation.
View 5 Replies
Apr 14, 2010
Is there an easy way to generate a log file that will trace at runtime the path through the code? I would like to see every controller, action, and view that was executed as my program runs. Can this be done without having to add logging code to every controller, action, and view?
View 2 Replies
Jan 16, 2011
I need to build web application that will do:
1 - build web pages.
1a - build template for page.
2 - add module(by module I mean ContacUs form, Search, Billing System...). Each module can be constructed by submodules or diveded to submodules
2a - build module(add form, textbox, button...) and that all entered data by user could be saved in dbDB structure that will contain it allI looked some cms db, but it's NOT this.lease, don't ask why I mess with it. I just need to build it.
View 1 Replies
Jan 30, 2010
some books for a beginner to build Web services in .NET?
View 3 Replies
Feb 4, 2011
I have project using MVC and I have created a menu bar using the <div> tag just below my header.
These items would be ones like; Contact, Home, FAQ, Search, Clients, About Us, Our Services
I have a single homecontroller displaying the main content in its view and I have a .master file displaying the header, menu bar, and footer. I have created a navigation controller which will call the code below in Site.Master
<div id="Menu">
<%Html.RenderAction("Menu", "Nav"); %>
</div>
In my Nav controller where I'm going to get a list of menu items, how should I do this? Should I hold the item list in a db or is there a better way?
View 8 Replies
Nov 8, 2010
comment: if u answer , please split your answer into numbers (like the questions) in order to avoid misunderstanding, thx :)
Hey. I'm going to finish read the book "Beginning ASP.NET 3.5 in C# 2008".
And I'm going rebuild my html gaming website (flash games website)
www.gamesff.com
In the future site, There are 3 main pages:
Homepage (Present all the New games etc...) Category Page (There are 9 games categories , it's present the games of each category)Game Page - in this page people can play the game, and see description of the game like description, date added, rating, etc... They can vote for this game too
Before I'm starting build it I have some questions.
1. I want the same Header, Footer and Menu in all the pages of my website.
How to do it: With Master Page?
2. In the Homepage I have:
Links + Pictures + Description of The 12 newest games of all the categories.
Links + Pictures + Description or of The Most Popular games of the Last week.
Links + Pictures + Description of the Last (newest) 6 Games of each category (there are 9 categories: action, shooting, sports etc...). But not games that existing in the (Newest Games section (the first section in this list).
How to do it? : With DataSet using TOP sql property???
What is the best way (for Optimum Performance)
And how to do the third section in the list, how can I insert the top games of all the categories, but not Games that presented in the first section? (I can't use normal sql SELECT because it will present the games that in the first section.
3. In the Category Page people can see the games of each category (there are 9 categories pages - for each category)... and people can order the games (date added, ratings, and popular games) by using "DropDownList".
And people can see only 30 games per page. So there are buttons of: next, 1, 2, 3 etc... (Of each order)
How to do it?? For example if I want the Action Category page order by poplar: using sql: SELECT top (30) ..... where Category='Actoin' ORDERBY Visitor_Count ??
How to do the paging?
What to use DataSet? DataReader? DataBinding?
4. And how to make the game page?
Using Query String? And select details from the database By the Game_ID of the Query String??
What to do if I want nice game's Url address? (from example the game Batman)
Address Like this http://www.gamesff.com/action/Batman
5. in the game page, the code of the flash is like this:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="525" height="400">
<param value="uploads/video-poker_0100.swf" />
<param value="high" />
<embed src="uploads/video-poker_0100.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" width="525" height="400"></embed>
</object>
How can I embed the address of the game from the database to this code?
Using Data binding of <%# GameAddress %> for example.. ?
6. I want count the number of the visitor per page. I know How to do it. But how Can I avoid from double counting of each user per day?
What to do? use database table for list of ip address and this list will clear once a day ? (But if I have thousand of visitor per day can it reduce the performance of the server if the server connect to the database for using ip address for each time that someone visits any game?
Or using cookies? Or something else?
View 5 Replies
Apr 11, 2010
i'm trying to build a picture of the day in c#
string m1 ;
Image1.ImageUrl = "~/PictureOfTheWeekImages/+"m1"+.jpg";
and i want to insert the name of the file as a variable that changes with the date ...
my way not working .... i'm sure it somthing like this,
and i'm not sure how to write the url right ..
View 2 Replies
Aug 12, 2010
I want to build web App using MVC 2 and for database i will be using webservices which is hosted on other server.What will be the best way to build this web APP. Can anybody point me to right direction?
View 11 Replies
Aug 23, 2010
I have come up with a business idea that I would like to follow, which involves me creating a subscription website with multiple levels (I'm thinking probably around the 10 mark). While I'm pretty good with VB.Net and ASP.Net, I unfortunately have no idea how I might be able to go about creating a website that would require the user to pay a monthly/yearly subscription (which would be different depending on which level they wished to choose).
View 2 Replies
Aug 13, 2010
How to build and publish the ASP.NET web site(Microsoft Vishul Studio->File->New->Website) using Cruise Control.net. Actually, ASP.NET Web site doesnot contain .csproj and .sln file.
View 2 Replies
Sep 7, 2010
I have an application that consists of 10 pages. But those pages work with query string, those values iam getting from db. For this type of situation how can i build a sitemap. Those values are not fixed those may be increase.
View 3 Replies
May 19, 2010
I have few confusions about build. What is release build and debug build? What are the output files for these builds? I had seen debug and release folders in bin folder. So the respective output goes into the respective folder? elaborate release and debug build. I dont want the difference.
View 3 Replies
Apr 29, 2010
I'm trying to build a horizontal DataList that, when enough items are added, will start scrolling.
Here's my pertinent layout code:
[Code]....
I *thought* I had everything setup properly but here's what happens when more & more items are added. Notice that eventually each item just starts shrinking in width. I would have though that the 110px width specifier in the CSS Class would have fixed the width accordingly.
View 4 Replies
Aug 27, 2010
i have a very large amount of data which i need to view in form of a tree. The problem is, that this runs sometimes into a timeout exception or it takes very very much long! I saw in several Application that others build up a tree where the node expand and load the data partially. So i would like to build something like this for my application, too, but i dont know how to contruct this.
- MyTreeNode1
+ MyTreeNode 2
- My TreeNode 3
wait while Data is loading ... (or the treenode is getting built up and i see it live, instead of showing an progress indicator)
+ My TreeNode 4
i dont know how to do this but would like to learn :) Could someone give me the right keywords to look for, or guide me?
View 1 Replies
Oct 26, 2010
I am using the new .NET 4 WCF REST web services. In order to link resources, I'd like to put links in my responses. In ASP.NET I can generate URLs from my routing configuration (e.g. UrlHelper.Action(...))
With WCF REST web services I have an ASP.NET routing configuration plus Uri templates:
[WebGet(UriTemplate = "{id}")]
MyResult Index(string id) {...}
I want to store related URIs in my result objects. How can I construct URLs from my routing configuration + UriTemplates without hardcoding base URLs or other information?
View 1 Replies