Adding A Blog To An Existing .NET Web Forms Web Site?
Mar 15, 2010What options do I have for adding a blog to an existing ASP.NET Web Forms web site. Ideally it should be able to transition to MVS as and when my site does.
View 3 RepliesWhat options do I have for adding a blog to an existing ASP.NET Web Forms web site. Ideally it should be able to transition to MVS as and when my site does.
View 3 RepliesI have an existing asp.net 4.0 web application and want to add a blog to it. I would like to create a new sub-directory and call it "blog". Is there some well suited blogs for this purpose?
View 7 RepliesI'm want to make a BLOG site and that should be fully Dyanmic.Means from Questions to answers all should be fully Dyanmic but need admin approval to post.can you share some links where i can get more about this.
View 1 RepliesI have a blog and my site has sitemap for google webmastertools. If my blog has 200 posts , how many should I place in the sitemap for google indexing, all, top 10, top 50 ??
View 2 RepliesI need to create a blog block in my site where it should update continuously. How start with it.
View 11 RepliesI am creating an Asp.net web site which will support dynamic data. When I am creating a dynamic web site from Scratch (from template in VS) all is working fine. But when I am trying to add dynamic entity (.edmx) file and running the application I am getting following error
"The method 'Skip' is only supported for sorted input in LINQ to Entities. The method 'OrderBy' must be called before the method 'Skip'. "
I am neither a server administrator nor very knowledgable about how to configure IIS, so I have the following problem:
My client hosts their public website from their own internal server running Server 2003 with IIS 6. The current website is a .NET 1.1 application configured as a website in IIS. Within this site a separate virtual directory configured as an application runs a separate .NET 1.1 app that serves as their online webstore.
I've been tasked with upgrading the website (not the webstore) to .NET 4 and getting it installed and working on their server. My initial plan was to simply change the existing websites home directory to the new home directory from the IIS admin console and be done, but then I read that this would break the application directory that hosts their online store because .NET 1.1 applications cannot be nested within .NET 4 applications. Can anyone confirm this?
I've been asked to create an expansion in ASP.NET (at say www.newsite.com) to a current website (at, say www.oldsite.com) that uses WordPress. The existing site will have a new link added to it, when clicked this will link to my new content. So far, so simple, however it has been requested that the address displayed be the same as the existing site- i.e. when the user clicks on a link to the new site it goes to my new site but the address shown is still www.oldsite.com/newcontent rather than www.newsite.com
I probably haven't explained this very well, but is it possible to do this without modification of the original site as this is maintained by a different company.
I am writing to a CSV that will contain different customer information. Right now when I write to it, it overwrites whatever is in the path right now. Instead of overwriting I would like the new writer.WriteLine to append to the current CSV without overwriting it.
Code
[Code]....
Also, can anyone help me with writing the file to a different location other than my local project file? I need the path to become a server location instead of the CSV folder stored locally.
I need to add rows to an existing (maybe) datatable in a dataset that combines the IIS6 index search with my own sql table. I keep getting object reference errors.
[Code]....
What are the steps to implement webparts into an existing application that already has been set up to use asp.net membership? I have yet to see how to get this to work. The only thing I am accomplishing is generating the following error:
The specified connectionStringName, 'LocalSqlServer', was not registered. (C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Configweb.config line 312) at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType) at System.Web.Configuration.ProvidersHelper.InstantiateProviders(ProviderSettingsCollection configProviders, ProviderCollection providers, Type providerType).
So, what is the deal here? Is it because my site uses masterpages? I have profile, roleManager, membership and connectionstrings in my web.config. I tried adding a webpart section, like I found on one website, to no avail. I was still getting the 'LocalSqlServer' error bunk.
I have a Gridview on my aspx page. On my page_load event I check for a record in the database, if the record exists for that row in the gridview I would like to add a new column in the same gridview and add a button control to it. This adding of new column in the Gridview should happen in the codebehind (c#). see the code I wrote for this, but when I run it, it does not create any column on the gridview page.
[Code]....
I have developed an ASP.NET Web Application and am now looking in to integrating a CMS into it. Is there any open source tool that allows me to this?
I have many existing pages, with content in them, and want to make it possible to simply have some sort of plugin that can be used to add or edit the content - I am willing to convert the existing static content into the CMS database but want to keep the other functionality I have developed (A custom authorisation framework, a site layout and styling using master pages etc).
I want to add WCF to existing asp.net application and host both of them in the same virtual directory is it possible ?? Also when i click new item to add app.config file from visual studio its not showing.
View 3 RepliesI am building a web service which uses some of an existing web site's methods. However, some classes and methods cannot be used (for example Redirect - which obivously throws an exception when not invoked from a web site's context).
Now I came to a section in code where
HttpContext.Current.Application.Get(keyNames.EncodedKey) Is used. (Where keyNames is a struct, and EncodedKey is a string.)but HttpContext.Current is null..
What is a valid substitution for HttpContext.Current.Application.Get?
I should mention that I've only checked this from a unit test, not the web service itself and following Darin's answer I realize that is the problem, so the question now is- how to mock HttpContext.Current(using moq)?
I have a new asmx web service (written with .Net 3.5), I'll be accessing this service from a Silverlight 3 app, and I want to add the service to an existing asp.net web site (written with .Net 2.0). How do I go about doing that? I tried the obvious route of just copying the entire project folder to the web site, but I experienced a number of errors when trying to view the asmx page from a browser.
There's already a service on the web site, and all it has is the asmx file, the dll and a web.config in the folder, and that's where I'm at right now with me new service. It appears to instantiate just fine, but when I call a method in t, nothing happens (the AsyncCompleted events never fire).
We have a web application written in ASP.NET for .NET 3.5, using standard web forms.
Going forward we want to start building new features, and over time migrate existing features, in ASP.NET MVC.
Is such a thing doable? Can we add the necessary files to an ASP.NET web application and thus "upgrade" it to be compatible enough with MVC so that we can start adding routes, controllers, views, etc.?
The old site is using a frameset containing a top header, a left menu, and a main content. What I envisioned was to create a new masterpage for all the existing pages, integrating all of those things into each page instead, and then start adding new pages using views instead.
I understand that unless we upgrade to .NET 4 we cannot use MVC 3, so the way I see it we have the following options:
Build a new website, somehow auto logon the new site with the same credentials when logging in on the main site, and link between the sites. I see tons of problems with this solution. Integrate ASP.NET MVC 2 into the existing software, adding the necessary files, and starting to add new content in MVC style, only fixing critical bugs in the old files, and over time migrate them over to MVC. Upgrade to .NET 4 and integrate ASP.NET MVC 3, pretty much the rest the same as option 2. Wait until we can schedule a full rewrite, likely to not happen in any foreseeable future. Don't do it, keep web forms.
Note that a full rewrite is out of scope at the moment, so some transitional period is the only option we can do right now.
Option 2 and 3 are the ones we want, the rest are just for completeness.
I'm working on an existing site based on nopCommerce 1.6 CMS (.Net 3.5) I'm using VS2010 and C#.I can create new pages and new .cs code to go with it but when I'm trying to chage existng code on .aspx pages inside the nopCommerce classes I can't build/re-build the project. the compiler just can't find the chages to the .cs code for example - when I add a simple button to the .aspx and an OnClick event to the .cs and trying to build the project it just can't find the OnClick event code on the codeBehind page and the build fails.I understand the project is pre-compiled (there are alot of .dll files in the bin directory)
even if I'll delete the entire .cs file and build the build will succeed - it is as if the build doesn't work at all... doesn't the build/re-build suppose to re-create the .dll files? I've tried changing the target .Net framework for the compiler - doesn't seem to be the problem here.Another thing - every .aspx page comes with both .cs file and .designer.cs file. the .designer.cs file look something like this: [Code]....
I have DB (my.mdf ) with already created membership (aspnet_db tables). There are defined roles and users.
I would like to integrate it in my project.
I dropped *.mdf into App_Data folder. When I open app.net configuration (under menu Project) I can't see neither User nor Roles.
What step am I missing?
I've got an existing asp.net project written in vb.net. Another person has written a user control in c#.
the steps for adding that C# user control to the vb.net app?
I've tried copying them to the folder and using "Add existing item", however it doesn't compile the code behind at all.
I have web site with Dotnet 2.0 framework With Ajax1.0. Now My requirement is to add Web Application built in 3.5 framework not used Ajax at all. But I am getting Ajax Error
[Code]....
I have a running ASP.NET web site. There is following problem with one of the forms:
One part of submitted data is added to database after "submit" is clicked. (to "table1") Another part is lost (not added to "table2", and no files uploaded) I have no source code of that project. So, because I cant edit existing page, I came to a decision to add new .aspx page to a running application with same functions as existing one. How can I do that? Or maybe you can recommend some other solution.
our company holds a dynamic website which is being hosted and config in IIS .now i wanna know is it possible to Add Ajax Controls or Ajax Control Toolkit to my website or if i have to make any updations and i want to do it with the help of update panel is it possible i can do with my existing website let's say adding New Pages (no modifications on prev page's) i already went through video of joe stagner how to add ajax to an existing project
is there any more changes do i have to make either in my IIS or on my Windows Server 2008 R2 to make the New Pages? how to add ajax to an existing project,as it will be a great help for me i wanna perform this thing exactly live on my production server so chances of any error should not be there.
I need to create the web-site updater for existing customers.In which I also need to update the database
View 1 RepliesI want to write a page where user's can write a blog post and publish it to the blog. I've downloaded blog engine .NET and looked at the code and I like the way they do it, but it's completely an overkill of what I need. What I need is only a title, author, date, and the blog post it self. I don't even want users to post comments or anything like that. My approach is to save all those blog post information into an xml and then when a page loads it loops around those xml files to show the blog post.
View 1 Replies