27GB Size - Visual Studio - angularjs

I have used PhpStorm my entire life but now I am very much inspired by AngularJS and ionic so I am learning to code hybrid mobile apps. I downloaded the Visual Studio and installed and it already had around 6GB.
Now I need to download additional Cross Platform Mobile Development package but it looks like I need to download additional 27GB.
Do I really need to download this huge file? I genuinely need from pros whether I need to download entire package or I can skip few. Internet speed sucks here in India and on the downloading another 27GB AngularJS 3 will be out.
Visual Studio

first of all absolutely you don't have to download all them plugin.. second if you want you caan use other good IDE as maybe Visual studio Code
https://code.visualstudio.com/
But if you want to use Visual Studio (as I'm doing ..but because i also develop the back end in Asp.Net WebAPI 2) .. you can skip the installation of (SO DON'T HAVE TO INSTALL) for ionic development:
C#/Xamarin (it's for develop other kind of Cross Platform Mobile Development .. not Hybrid)
Miscorsoft Visual Studio Emulator (you can use the Ionic tools from command line .. es: ionic serve --lab or also run it on your device and attach them to your browser to debug)

Related

Silverlight Framework - (End User)

I have never used Silverlight before but have been provided a copy of the package, (see link below).
https://github.com/ivconsult/eNeg
Please could I request guidance on how I would compile this and can this be run from desktop or would it need to be uploaded to a server.
Forgive, my poor understanding of how this works any help appreciated . . .
Your question is a bit rough. You can run any silverlight application locally on your development PC. In order to open and compile the project you have to install:
A .NET Integrated Development Environment (IDE) such as Visual Studio or the free Visual Web Developer Express
Install Microsoft Silverlight runtime for windows. (This is the runtime that’s required for Silverlight applications).
Install Silverlight Toolkit
Install Silverlight SDK
Install Silverlight Tools for VS 2010 (Optional)
Install Expression Blend. This is a design tool that allows users to
interact with Silverlight.
After this, open the solution file "citPOINT.eNeg.sln".

Load PDF in a WPF application?

I've been searching around and I can't find any clean ways to render PDFs in a native WPF application. Most solutions are either paid or run with errors or cannot load PDFs for my particular use case in Civil Construction.
Does WPF have any built in PDF renderers?
There's a built in PDF API in the UWP Runtime under the following nuget package:
Microsoft.Windows.SDK.Contracts
If you check under Windows.Data.Pdf there's actually an example link to GITHub for a very barebones PDF Renderer--that just so happens to be robust enough to load up Civil Construction PDFs: https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/PdfDocument
Of course the example is running on UWP so you'll need to go into the Windows settings (which should be auto-prompted if you've never installed UWP developer packages) and enable developer mode. This will give VS access to run UWP applications on your computer. You can search "developer" in the Windows settings or they're located under:
Settings -> Update & Security -> For developers -> "Developer Mode"
For the build platform in the configuration manager change from ARM to x64 (or x86 if you're on a 32-bit machine) and the program should run (works in VS Community 2019).

How to Deploy WPF application using MSI

I have a WPF C# desktop application that will need to be deployed as MSI (Windows Installer deployment, not ClickOnce deployment) in VS2010. My application will generate SQL CE database in run-time, manipulate Excel Workbook, and receive/transmit data from/to COM Port - so I don't know what is the appropriate way to deploy such an application.
I am looking at Windows Installer Deployment Tasks which doesn't help me to get started.
Could anyone show me some resources that give instructions on how to deploy an application as an MSI installer?
If you don't want ClickOnce, then you'll probably need to create your own MSI. In that case, you can use:
The built-in Setup project type in Visual Studio. It does a decent job but has limitations. Works very well if you don't have many dependencies or custom actions.
A commercial tool like InstallShield
WIX (Windows Installer XML)
I've tried both 1 and 3. While WIX has a little bit of a learning curve, it is a very rich way to do what you want to do. There is a fair bit of documentation available and some very nice "out of the box" wizard sequences to handle your standard install scenarios (licenses, feature selection, dependencies, etc). WIX does have some VS integration that works quite well.
You can find out more on WIX at http://wix.sourceforge.net/
Note:
The VS setup project can do custom actions, and install dependencies, but you have to use custom actions. If you want to parameterize the custom actions, then you'll need to find the not-so-intuitive instructions on that topic.
The other limitation of the VS setup project is that the setup project can only be compiled to an MSI by VS (devenv.exe). That means that the MSI cannot be compiled on a build server unless you install Visual Studio there too. This was a show stopper for me, so I switched to WIX and was very happy with the result.
For those like me who found this post after searching high and low for how to deploy an MSI these days, you now need an extension as the visual studio team removed the built in startup project functionality. You now need to download the Visual Studio Installer Projects extension.
See this user voice post for discussion of the removal, and here is a link to the extension.
Useful for people looking for a quick solution to generating an MSI through Visual Studio rather than getting deep into Wix (although if you need more advanced deployment options, definitely go that route).
Configure your WPF application to publish as a ClickOnce application. You can do that in the 'Publish' tab of the project properties.
If you use the 'Publish Wizard' (by clicking on the aptly named button on the properties page) you can specify (on the second page) that the user will install 'From a CD-ROM or DVD-ROM'. This option will produce a setup.exe file in the publish sub-folder of your project output directory. This setup.exe program when launched by your user will install the WPF application. You may choose to include an update functionality (but you don't have to).
The ClickOnce settings also allow you to include additional files (e.g., your SQL CE database file) and pre-requisites if necessary.

Silverlight 3 - Visual Studio Tools

I am trying to get started doing some Silverlight development. I am interested in learning about the out-of-browser support. I can create and run Silverlight 3 applications just fine. I have confirmed that I have Silverlight 3 instead of Silverlight 3 Beta. I have been able to confirm this because my API list includes Application.InstallStateChanged instead of Application.ExecutionStateChanged.
However, I do not have the option to enable my application to run offline in Visual Studio. I can see this option in this blog post (http://johnpapa.net/silverlight/updated-silvertwit-code-for-msdn-magazine/). Unfortunately, I do not have the option shown or the Reduce XAP size option. I have downloaded the Visual Studio tools from here (http://www.microsoft.com/downloads/details.aspx?familyid=9442b0f2-7465-417a-88f3-5e7b5409e9dd&displaylang=en).
What am I doing wrong?
Thank you!
It looks like John Papa is using a new version of visual studio possibly the VS2010 beta.
Try this tutorial instead
http://wildermuth.com/2009/03/18/Enabling_Out-of-Browser_Support_in_Silverlight_3
or
http://blogs.msdn.com/katriend/archive/2009/07/10/silverlight-3-out-of-browser-applications.aspx
Corrupted Install
It looks like a corrupted install. Try uninstalling and then see Allen Chen's advice here:
http://silverlight.net/forums/t/83226.aspx including:
Silverlight3_Tools.exe /x:c:\temp /u to manually extract the SL 3 files and c:\temp\SPInstaller.exe to verify the tools install.
Use Blend
Also, If you have Blend 3 installed (preview here) you can enable Out of the Browser inside of Blend. See Project->Silverlight Project Options.
One thing might be that your Silverlight developer runtime got corrupted/overwritten. Try installing it once and see if it solves...
http://silverlight.net/getstarted/silverlight3/default.aspx

What tools do I need to do Silverlight development?

I already own Visual Studio 2008 Team Version, and have an MSDN subscription...and I am an experienced ASP.Net developer.
What do I need to install to do Silverlight development, and can all of those tools be installed alongside my current "production" development machine (want to make sure there will not be any side effects).
I know I want to learn silverlight, but its not clear to me which tools are required and/or recommended in order to get started...
Thanks.
Download the Silverlight 2.0 SDK and Visual Studio 2008 Tools
Microsoft® Silverlight™ 2 Software Development Kit
Microsoft® Silverlight™ Tools for Visual Studio 2008 SP1
Check here for the links
http://www.microsoft.com/downloads/details.aspx?FamilyId=4E03409A-77F3-413F-B108-1243C243C4FE&displaylang=en
Another great resource is the original:
http://www.asp.net/downloads/
AND
http://silverlight.net/GetStarted/
Hope this helps:
Andrew :-)
This link has pretty much every thing you need.
If you're already comfortable with VS development, you can just develop Silverlight in VS by downloading the Microsoft Silverlight Tools for Visual Studio 2008.
If you're more of a designer than devloper, then Microsoft Expression Studio may be better for you.
Follow the steps here:-
http://silverlight.net/GetStarted/
I have no problems using this stuff side-by-side with my regular development
Silverlight.net is a good place to start. All the tools are finalized so you should be able to install all things silverlight and be fine.
I am also trying to get started with Silverlight development.
Here is how I was getting started.
1.) To set up development environment: Getting started with Silverlight
2.) Web Sites to keep up with.
MSDN Silverlight Development Center
Shawn Wildermuth: He has turn from an ADO guy to a Silverlight guru/trainer.
Scott Gu's Silverlight tagged stories
I have Visual Studio 2003/5/8(+Resharper 4.1) installed on my machine along side siliverlight SDK and Expression Suite.
So far I have not seen any side effects even after installing all those tools on my dev machine after few months.
You can use Silerlight Spy to view the 'reflected' source code of any Silverlight application on the web. But, you can also use it to validate the structure of the components in your running application. The debugging experience reminds me of working with Firebug while trying to decipher the viusal structure of a web page.
In addition to the visual studio stuff, you should probably get blend and all of it's service packs.

Resources