Click here to Skip to main content
15,897,187 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionPost ifram embedded PDF editable document to ASP.Net MVC Post Action Pin
Asjad ali kash8-Jun-16 1:01
Asjad ali kash8-Jun-16 1:01 
Questionsorting of a image column Pin
mrakshay12127-Jun-16 23:56
mrakshay12127-Jun-16 23:56 
QuestionTrying to create database using Code First Approach Pin
indian1437-Jun-16 16:20
indian1437-Jun-16 16:20 
Rant[REPOST] Trying to create database using Code First Approach Pin
Richard Deeming8-Jun-16 1:41
mveRichard Deeming8-Jun-16 1:41 
AnswerRe: Trying to create database using Code First Approach Pin
jkirkerx10-Jun-16 7:56
professionaljkirkerx10-Jun-16 7:56 
QuestionWhat is Diffrent between hash table and dictionary Pin
jitendra jayswal7-Jun-16 1:26
jitendra jayswal7-Jun-16 1:26 
SuggestionRe: What is Diffrent between hash table and dictionary Pin
Richard MacCutchan7-Jun-16 3:23
mveRichard MacCutchan7-Jun-16 3:23 
QuestionUsing Webgrease, Best Practices, vs Gulp and Bower Pin
jkirkerx5-Jun-16 12:26
professionaljkirkerx5-Jun-16 12:26 
So I'm ready to minify my CSS and Script files. Doing some research for hours, I'm seeing folks are using Gulp and Bower, and not Webgrease. I read the instructions on Bower, but I really don't want to delete by bundles in which I just modified, boostrap, Newtonsoft and everything else and start again.

So I'll try Webgrease first. Questions. What are some of the best practices such as folder structures. I'm using the current folders called Content and Scripts. But in the Webgrease Config XML, there's an input and output folders.

Should I create a new folder for the raw stuff I'm working on, and keep the original folders for the output? Then when I publish the project, the raw folders and output folders copy over? And when I develop, use the output folders.

Or use the same folders, and Webgrease will create a new file adding .min, and then figure out how to use the .min files in production use? I prefer this method, easier to maintain and develop on for me.

Where do you put the webgrease.xml file, in the project root? And then leave the WG.exe in the Visual studio folder, Do I need to map that or something so I call it from my project location?

And this webgrease can run on each project build? Or just call it command line.

In the past, I did this manually, the hard way and spent too much time. Really this is my fist time using any of these tools. Before I write this and start testing, I just wanted to get some feedback on it first. I know they should like dumb questions but not much came back on my searches. Everything was assumed.

Side Rant:
But on a side note or story, I was shopping for brake rotors at R1 Concepts for my car on my phone, and this 1 website consumed 160 megs of my monthly plan within 30 minutes. All the scripts were on the webpage and not separate files, and placed everywhere and not on the bottom. My iphone 6S+ with it's speedy CPU took 5 minutes to load the page compared to my desktop with 6 core Xeon that took 13 seconds. Talk about an example of what not to do.

So this is important to me now, and I would like to automate the task as I continue writing more CSS and JQuery.

modified 6-Jun-16 12:20pm.

AnswerI decided to dump Webgrease and the bundle, and use Gulp, bower, git and node to automate the task. Pin
jkirkerx6-Jun-16 9:19
professionaljkirkerx6-Jun-16 9:19 
QuestionGoogle map with multiple marked location Pin
Member 118050633-Jun-16 3:38
Member 118050633-Jun-16 3:38 
AnswerRe: Google map with multiple marked location Pin
ZurdoDev3-Jun-16 4:40
professionalZurdoDev3-Jun-16 4:40 
QuestionHttpWebRequest authentication problem Pin
candogu2-Jun-16 3:07
candogu2-Jun-16 3:07 
AnswerRe: HttpWebRequest authentication problem Pin
ZurdoDev2-Jun-16 3:14
professionalZurdoDev2-Jun-16 3:14 
GeneralRe: HttpWebRequest authentication problem Pin
candogu2-Jun-16 3:16
candogu2-Jun-16 3:16 
GeneralRe: HttpWebRequest authentication problem Pin
ZurdoDev2-Jun-16 3:19
professionalZurdoDev2-Jun-16 3:19 
AnswerRe: HttpWebRequest authentication problem Pin
John C Rayan2-Jun-16 3:18
professionalJohn C Rayan2-Jun-16 3:18 
AnswerRe: HttpWebRequest authentication problem Pin
F-ES Sitecore2-Jun-16 4:24
professionalF-ES Sitecore2-Jun-16 4:24 
QuestionAsp.Net MVC View, Loading HTML in iframe element instead of src=url Pin
jkirkerx1-Jun-16 11:25
professionaljkirkerx1-Jun-16 11:25 
AnswerRe: Asp.Net MVC View, Loading HTML in iframe element instead of src=url Pin
Richard Deeming2-Jun-16 2:21
mveRichard Deeming2-Jun-16 2:21 
GeneralRe: Asp.Net MVC View, Loading HTML in iframe element instead of src=url Pin
jkirkerx2-Jun-16 6:36
professionaljkirkerx2-Jun-16 6:36 
GeneralRe: Asp.Net MVC View, Loading HTML in iframe element instead of src=url Pin
jkirkerx2-Jun-16 8:26
professionaljkirkerx2-Jun-16 8:26 
GeneralRe: Asp.Net MVC View, Loading HTML in iframe element instead of src=url Pin
Richard Deeming2-Jun-16 8:37
mveRichard Deeming2-Jun-16 8:37 
GeneralRe: Asp.Net MVC View, Loading HTML in iframe element instead of src=url Pin
jkirkerx2-Jun-16 9:32
professionaljkirkerx2-Jun-16 9:32 
QuestionHelp with fileupload object Pin
turbosupramk31-Jun-16 6:03
turbosupramk31-Jun-16 6:03 
AnswerRe: Help with fileupload object Pin
Richard Deeming1-Jun-16 6:55
mveRichard Deeming1-Jun-16 6:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.