C# - How To Minify .net AXD Resources
May 11, 2010
I 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 Replies
Similar Messages:
Oct 31, 2010
I'm trying to write a templated user control that get's as a template the js code from the user,And minifies it on the fly (OnInit), and actually prints the minified JS.That means that I need a code that receives a string, and returns a string.All I found untill know are programs that uses the input output from the hard-drive, something that I can't allow.Is there any C# Libraries relevant to my issue need ?
View 1 Replies
Sep 30, 2010
I am developing a web-based Pokemon Online game. Since it is online, I would like to optimize it to run as quickly possible. I've installed Firebug and Page Speed minifying my HTML output. I'm also using VS2008, ASP.NET 3.5, AJAX, and IIS 7.5; along with URL-Rewriting. I want to minify my HTML, JavaScript, and CSS. Optimally, I'd like the minifying process to happen at compile time. I've spend hours looking online but couldn't find a decent solution,
View 3 Replies
Nov 30, 2010
I have an asp.net-mvc application, and when I look at the page's source I see the html is indented, has lots of white space, I think if I will remove all these spaces, my page will become smaller in KBanybody knows how to remove them automatically ?
View 4 Replies
Feb 3, 2011
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.
View 2 Replies
Mar 11, 2011
how can i get resources value
View 4 Replies
Dec 23, 2010
How to use Resources.
[Code]....
View 2 Replies
Apr 9, 2010
I have used Global Resources in asp.net MVC, but how do I use Local Resources in asp.net MVC?
View 1 Replies
Jan 14, 2010
in 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 Replies
Mar 19, 2010
There was a Learn link in the old ASP.Net site that was very valuable. Is this gone?
View 4 Replies
Apr 22, 2010
I 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 Replies
Dec 10, 2010
In 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" />
View 1 Replies
May 25, 2010
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 Replies
Sep 13, 2010
We 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 Replies
Aug 5, 2010
I 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 Replies
Aug 12, 2010
I 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 Replies
Jan 6, 2010
global 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 Replies
Nov 16, 2010
I 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 Replies
Feb 19, 2011
It 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?
View 2 Replies
Feb 28, 2011
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]....
View 5 Replies
Aug 24, 2010
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
Feb 23, 2011
I need to create a site in umbraco. Is there any good resource to learn Umbraco? I am new to CMS. which is the good learning sites?
View 3 Replies
Sep 27, 2010
I am trying to learn Microsoft sharepoint and I wanted your ask some opinion on some of the online resources available. I checked some of the training institutions (I am from India), but the courses are very expensive there. I am looking for the following details:
1 - What softwares are needed to learn sharepoint- on my laptop I have Visual Studio 2008. Is that sufficient? If not, can you please provide me some details.2 - Training material If there are some good online training materials for sharepoint,can you please let me know Typically, how long would it take to get some grasp on sharepoint? I have used visual studio and I am good in writing C# or VB.NET code.But I have no background on sharepoint.
View 2 Replies
Mar 29, 2010
I have an xml document in a folder called resources in my solution.
what is the path to the document, so my code looks something like this
[Code]....
View 1 Replies
Jan 17, 2010
I am new in the field of asp.net i have little bit knowledge of c++.
I want to lear asp.net . is there any free resources online or any ebook which can give better information form basic to advance level.
i haved searched a lot on internet , it is avaible but not good by understanding ?
View 2 Replies