Finding Resources To Build A CMS
Apr 22, 2010I need to find resources ( EBooks , researches..etc) that will to build a CMS using asp .net. I want to find a resource that I can make it the guide to begin the work.
View 13 RepliesI need to find resources ( EBooks , researches..etc) that will to build a CMS using asp .net. I want to find a resource that I can make it the guide to begin the work.
View 13 RepliesWhen I'm building my web project it takes about 20 seconds to compile. Then when I try to browse to a web page in project, asp.net does its runtime compilation(another 20 seconds). I know I can't escape these steps because thats how asp.net works, just want to see if anyone has some kind of optimization to make these builds faster.
Trying to improve Edit-Compile-Test loop
My machine details:
-Intel Core i7 processor @2.80GHz
-8GB of RAM
-HD @ 7200 RPM
I have recently upgraded to VS 2010 and converted my web site into a web application. Now, when I attempt to build, I receive the error:
Resource name '<name>.Resources.resources' cannot be used more than once.
There is no page name or anything, and I have completely exhausted all that Google has to offer.
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?
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.
It may be obvious to everyone. I am learning this: what is difference between build solution and build website
View 2 RepliesI 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.
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?
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.
how can i get resources value
View 4 RepliesHow to use Resources.
[Code]....
I have used Global Resources in asp.net MVC, but how do I use Local Resources in asp.net MVC?
View 1 Repliesin some projects (web application projects) I'm using global resource files. (Stored in the App_GlobalResources folder)pro:Really easy to use: e.g. in the markupProperty="<%$ Resources:FILENAME, KEY %>"con: As far as I know, I can't change the content of the resources on the fly. So if a customer is calling and tells me to change a string in the french implementation, I need to deploy a new binary. While using SessionMode="InProc" that might lead to undesired behaviour, like session loss etc.
View 2 RepliesI am working on a big .NET project. I am currently creating an automated minifier for JS and CSS files using YUI compressor. After doing some research, I found that the heaviest files in the project are actually .NET resources (Like MS ajax file). They are very big and unminified.I am wondering, is there any way to minify them?
View 3 RepliesThere was a Learn link in the old ASP.Net site that was very valuable. Is this gone?
View 4 RepliesIn almost every ASP.NET MVC example I've come across, I always see Url.Content being used to reference CSS, JavaScript, and Images. Not once has anyone explained WHY to use it.
What's so bad about doing:
<img src="/Content/Img/MyImage.png" alt="My Image" />
<script src="/Scripts/jquery.js" type="text/javascript"></script>
<link href="/Content/Css/Default.css" rel="stylesheet" type="text/css" media="all" />
I tried searching, but I guess the <% $ %> triggers something on google and it turns up nothing. What is this accessing in an asp.net .aspx page? I've used the = but never a $.
View 2 RepliesWe have a web site in the domain, let's name: http://website.com. It is necessary to implement same look-and-feel on another web site (https://custom.website.com). As we can see, the 2nd is in the sub-domain of the 1st one, but it is secured (it uses https).To achieve same look-and-feel same DLLs are used in both web sites. These DLLs contain functionality for menus, JavaScripts, etc). But the 2nd web-site uses images and some css files from the 1st one. For example, in order to display "Logo.png" instead of usual "~/Images/Logo.png" the following path to file is rendered into HTML: "http://website.com/Images/Logo.png"
View 4 RepliesI am trying to add a global resource folder, and added a Language.resx file. Then, I added a new seperate resource file called, Language.zn-ch.resx file. But when I try compiling, it complains:The namespace 'Resources' already contains a definition for 'LanguageResource'
View 4 RepliesI use the Global Resources feature, not only to centralize all my output strings but to make it easy when using Localization (witch is almost 90% of the time).But I spread out my project into, not only the ASP.NET website, but with 2 Library projects as well How can I use the ASP.NET Global Resource file in those Library projects
View 1 Repliesglobal resources in my asp.net mvc web application. I have some resources in separate project(not a web app project). Those resources have following settings: Build action: Embedded Resource, Copy To Output Directory: Do not copy, Custom Tool: ResXFileCodeGenerator. When I change an existing value in resource file, build solution in release mode and upload neccesary dll files back to server, the previous values in resources are still shown. However, when I add a new key into resource file, the value of this key is shown properly.
View 1 RepliesI am using VS 2008 and sql server 2005. I have completed a project and upload it to the server using FileZilla. But as I insert the web.config file it show error..500 - Internal server error.There is a problem with the resource you are looking for, and it cannot be displayed.
View 11 RepliesIt seems that using Local resources is much more complicated when using Razor. I recently converted an MVC 2 app I was working on to MVC 3. The conversion went well but accessing LocalResources doesn't work and I can't get it to work. In MVC 2 I created an App_LocalResources folder in the /Views/Home folder and created an Index.aspx.resx resource file. In the Index View I could access the local resources with
<%: GetLocalResourceObject("FirstName") %>
Simple, out-of-the-box functionality, as it should be. Razor doesn't understand this. It seems that in Razor you have to use @HttpContext.GetLocalResourceObject(<virtual-path>, <resource-name-key>). I've tried everything for virtual-path but nothing seems to work ("~/", "~/Views/Home/App_LocalResources", etc.). I tried to directly access the resource file by providing the complete namespace, like you do with global resources (which works fine in Razor), but then it errors stating that the culture is required. Intellisense allows you to build the reference to the resource property but Razor doesn't understand it.
Of course an alternative could be to simply use the ASPX rendering engine in MVC 3, but I want to use Razor. Does anyone know an out-of-the-box method (not some exotic work-around) for accessing the LocalResources in an MVC 3 app using Razor?
Iam new to ASP.NET and poking around my first ASP Web Application projects in .NET 4.0 I have problem, which I can't solve, and google searches does not bring any joy. So I would ask for and/or explanation of following problem:
Assume that I have set up following project structure:
default.aspx
[gfx] (dir)
[images]
picture.jpg
[css]
stylesheet.css
[Code]....
my web application uses a menu for the user navigation, and I need to store the menu in the database. among other properties, each menu item has a text title. But I do not want to store title strings in the database. Instead I want to use resource files to plug in the right language. I am looking for an advice on how to link the database table and the resources together. I mean, what would a store instead of the title in the database? the corresponding resource id? But this seems wrong.
View 1 Replies