RE: Windows folder redirection and Assembly.GetExecutingAssembly().Location and editing a .config file at run time

2017-04-05 Thread David Kean
Assuming the design can’t be changed, I would separate the thing that modifies the configs into a separate exe that is marked as requiring elevation, you do that do that with a Windows Manifest: File -> Add New Item -> Application Manifest Change requestedExecutionLevel to the level you need. Fr

Re: SPA decision

2017-04-05 Thread Nathan Schultz
Yep... to expand on what Tony has said, LESS & SASS are CSS pre-processors. They add features not normally found in CSS, such as variables, calculations, polymorphism (via mix-ins), import and extend constructs, and far better nesting. When LESS or SASS files are compiled into ordinary .css. They

Re: SPA decision

2017-04-05 Thread Tony Wright
Less is nothing to do with JavaScript and you can use it with standard mvc. All it does is provide you with a better css file that allows you to use variables within a css-like file that should generate the css on saving it. On 6 Apr 2017 10:34 AM, "Greg Keogh" wrote: > The SPA site is, a youg d

Re: Windows folder redirection and Assembly.GetExecutingAssembly().Location and editing a .config file at run time

2017-04-05 Thread Preet Sangha
I gets worse. I now have to ensure that each client as a copy of the updated file ;-) regards, Preet, in Auckland NZ On 6 April 2017 at 12:43, Greg Keogh wrote: > Yoikes ... You've got a 3rd party config file that stuck beside the > executables in a folder that is not writable by normal user

Re: SPA decision

2017-04-05 Thread William Luu
Semi-related, thought this article might interest some in here: https://trackchanges.postlight.com/modern-javascript-for-ancient-web-developers-58e7cae050f9 On 6 April 2017 at 10:34, Greg Keogh wrote: > The SPA site is, a youg devloppers wet dream of technologies, Gulp, Less, >> you name it it

Re: Windows folder redirection and Assembly.GetExecutingAssembly().Location and editing a .config file at run time

2017-04-05 Thread Greg Keogh
Yoikes ... You've got a 3rd party config file that stuck beside the executables in a folder that is not writable by normal user accounts, but you need to update it at runtime. It sounds like you're snookered as you're technically breaking the modern compliance rules. You could annotate the program

Re: SPA decision

2017-04-05 Thread Greg Keogh
> > The SPA site is, a youg devloppers wet dream of technologies, Gulp, Less, > you name it it's in there. The code is buggy and never does what you > expect it to do. > You have decorated part of my reason for not going SPA for the new demo. In my reading of blogs and forums I've seen a lot of c

Windows folder redirection and Assembly.GetExecutingAssembly().Location and editing a .config file at run time

2017-04-05 Thread Preet Sangha
team, I have a .config file (not the main blah.exe.config) that needs some special mangling at runtime. My google fu is failing me. Provided that I'm running on a OS Window 7+, will the above .net 4.52 call and I write to the file, do I have to anything special to allow my program to write to th

Re: SPA decision

2017-04-05 Thread David Rhys Jones
I'm working on a SPA at the moment, except it's not, there is a client side facing SPA and an angular / MVC admin site. The MVC side of things are pretty straight forward, even with all the angular stuff in there complicating things. The SPA site is, a youg devloppers wet dream of technologies,