Upload
bahrudin-hrnjica
View
223
Download
0
Embed Size (px)
Citation preview
8/17/2019 Visual Studio 14 Sta Dolazi
1/45
8/17/2019 Visual Studio 14 Sta Dolazi
2/45
8/17/2019 Visual Studio 14 Sta Dolazi
3/45
8/17/2019 Visual Studio 14 Sta Dolazi
4/45
8/17/2019 Visual Studio 14 Sta Dolazi
5/45
8/17/2019 Visual Studio 14 Sta Dolazi
6/45
8/17/2019 Visual Studio 14 Sta Dolazi
7/45
8/17/2019 Visual Studio 14 Sta Dolazi
8/45
8/17/2019 Visual Studio 14 Sta Dolazi
9/45
8/17/2019 Visual Studio 14 Sta Dolazi
10/45
3. Microsoft Community BiH konfere
Native A 8i#!
9esktop reassuran#e• ,(@ #ore investments• 6##ess to modern 2eatures• %ommon distri+ution• Easier transition to Store apps
Native and )e+ investments,e+ A 8ea
'odern )e+• (rodu#tive "
developmen• "i=!l intera
8/17/2019 Visual Studio 14 Sta Dolazi
11/45
3. Microsoft Community BiH konfere
%rossAplat2orm
mo+iledevelopment
8/17/2019 Visual Studio 14 Sta Dolazi
12/45
3. Microsoft Community BiH konfere
'- /E G6'68 NNative #rossAdevi#e appspo)ered + Gamarin and 'i#roso2t .NET
%& I G %& I 6G'/ %& I G6'/Native 7 Native 7 Native 7
S!ared#lient app C% lo=i#
8/17/2019 Visual Studio 14 Sta Dolazi
13/45
3. Microsoft Community BiH konfere
(rodu#tivit o2 Visual Studio 2or ! +ridapps
S#ale to #omple; Enterprise appst!rou=! optional T peS#ript support
EndAtoAend development )orkJo)
in#luded
Visual Studio tools 2or 6pa#!e %ordo
" +ridA"T'/ apps
Ne) %ordova toolin=
in Visual Studio
Natural pat! 2or )e+ developers tar=etin=devi#es
S!ortest pat! 2or #rossAplat2orm mo+ile
Espe#iall relevant 2or Enterprise LEs#enarios
la#k o;
%SS M "T'/
8/17/2019 Visual Studio 14 Sta Dolazi
14/45
3. Microsoft Community BiH konfere
&E'
8/17/2019 Visual Studio 14 Sta Dolazi
15/45
3. Microsoft Community BiH konfere
6S(.NET ,e+ Tools
8/17/2019 Visual Studio 14 Sta Dolazi
16/45
3. Microsoft Community BiH konfere
-ne 6S(.NET
(S).NET
&eb*orm
s
Sites&eb
)a+es
Sin+le
)a+e(pps
MVC &eb(),Si+na
lR
Services
8/17/2019 Visual Studio 14 Sta Dolazi
17/45
3. Microsoft Community BiH konfere
'odern ,e+ %loud
%loud read%onO=urationSession%a#!e
9ia=nosti#s8un 9e+u= in %loud
Tra#in= /o==in= )it!out reAdeplo
Seamless transition 2rom onApremises to #loud
' d %
8/17/2019 Visual Studio 14 Sta Dolazi
18/45
3. Microsoft Community BiH konfere
'odern ,e+ %ross(lat2orm
EditorsVisual Studio$ Te;t$ %loud editorsNo editors B#ommand lineE
-pen Sour#e )it! %ontri+utions
8untime,indo)s$ 'a#$ /inu;
-SS
S 6S( NET
8/17/2019 Visual Studio 14 Sta Dolazi
19/45
3. Microsoft Community BiH konfere
Summar 6S(.NETvNe;t
@eature .NETvNe;t
.NET vNe;t B
%loud 8ead P'odular 9esi=n P9ependen# nje#tion P%onsistent Tra#in= 9e+u==in= P@aster 9evelopment BNo uild Step P
E;istin= 6S(.NET B'V% 5$ ,e+ 6( $ Si=nal8 L$ E@ P@ull Side + Side B2rame)ork deplo ed insideappli#ation%ross (lat2orm B,indo)s$ 'a#$ /inu; P
/o) memor "i=! t!rou=!put B+est o2 #lass
Uni ed vNext 6S(.NET B'V% ,e+ 6( $ Si=nal8$ P
8/17/2019 Visual Studio 14 Sta Dolazi
20/45
3. Microsoft Community BiH konfere
6S(.NET vNe;t A %ompati+ilit• ,e+ @orms$ 'V% 5$ ,e+ 6( L$ ,e+ (a=es 0$ Si=nal8 L$ E@
– @ull supported on .NET vNe;t• 'V%$ ,e+ 6( $ ,e+ (a=es $ Si=nal8 0$ E@ Q
– reakin= #!an=es:• Ne) proje#t s stem• Ne) #onO=uration s stem• 'V% ,e+ 6( ,e+ (a=es mer=e• No S stem.,e+$ ne) li=!t)ei=!t "ttp%onte;t Bnot S stem.Ne
• .NET vNe;t B%loud -ptimized – Su+set o2 t!e .NET vNe;t @rame)ork
• T!in=s ou depend on mi=!t not +e availa+le et Bima=es$
8/17/2019 Visual Studio 14 Sta Dolazi
21/45
3. Microsoft Community BiH konfere
DES-T
8/17/2019 Visual Studio 14 Sta Dolazi
22/45
3. Microsoft Community BiH konfere
• 8osl n proje#t is t!e ne;t version o2 V and %&#ompilers and lan=ua=e servi#es.
• t is a #odename 2or .NET %ompiler as Servi#e %• -pen sour#e proje#t !ttp: rosl n.#odeple;.#om
BR4 LR14• Trans2orms #ompilers in to plat2orm 6(• 'an opportunities 2or innovation in various areas
– metaApro=rammin=$ #ode =eneration and trans2ormaintera#tive use o2 t!e %& and V
– em+eddin= o2 %& and V in domain spe#iO# lan=ua
,!at is 8osl n
8/17/2019 Visual Studio 14 Sta Dolazi
23/45
3. Microsoft Community BiH konfere
• C8osl nD is t!e +asis 2or .NET and VStudio vNe;t
• 8osl n is ever )!ere
'(-8T6NT to kno)
http://roslyn.codeplex.com/http://roslyn.codeplex.com/http://roslyn.codeplex.com/
8/17/2019 Visual Studio 14 Sta Dolazi
24/45
3. Microsoft Community BiH konfere
•
%ompiler is +la#k+o; – solated #losed #ompilers – "ard to e;tend dev e;perien#e
%urrent %& and V #ompilers
.NET(ssembli
es
Source*iles
8/17/2019 Visual Studio 14 Sta Dolazi
25/45
3. Microsoft Community BiH konfere
•
t opens t!e +o; o2 #ompiler – 6( : open plat2orm – 8i#! 9E e;perien#es re2a#torin= – %ode anal sis – %ustom dia=nosti#s – -pen Sour#e #ompilers
8osl n #ompilers
.NE(ssemb
es
Source*iles
E i t! # il
8/17/2019 Visual Studio 14 Sta Dolazi
26/45
3. Microsoft Community BiH konfere
E;posin= t!e #ompilerapi
%ompiler 6(
S nta; Tree6(
S m+ol 6( indin= and @lo) 6nal sis 6( s
/an=ua=e
Servi#e
@ or m
at t er
% ol or i z er
- ut l i ni n
=
N avi =
at eT o
- + j e # t
r o)
s er
% om
pl i t i on
/ i s t
@ i n d 6 l l 8
e2 .
> ui # k
n2 o
S i =n
at ur e
" el p
E ;t r a
# t
' et !
o d
H oT o
9 eO ni t i on
8 en
am
e
8/17/2019 Visual Studio 14 Sta Dolazi
27/45
3. Microsoft Community BiH konfere
8osl n 9emo
%!an=in= %& #ompiler
8/17/2019 Visual Studio 14 Sta Dolazi
28/45
3. Microsoft Community BiH konfere
•
8osl n provider po)er2ul S#riptin=6( 2or d nami#all #ompiler %&s#ript.
• S#ript e;e#ution is done in E;e#uti#onte;t
• ntera#tive )it! "ost 6ppli#ation
8osl n S#riptin= 6(
8/17/2019 Visual Studio 14 Sta Dolazi
29/45
3. Microsoft Community BiH konfere
8osl n 9emo
S#riptin= 6(
8/17/2019 Visual Studio 14 Sta Dolazi
30/45
3. Microsoft Community BiH konfere
8osl n 9emo
%& .R @eature 9emo
8/17/2019 Visual Studio 14 Sta Dolazi
31/45
3. Microsoft Community BiH konfere
• Ne;t Heneration o2 < T %ompiler• 'emor /imitation to 4H 2or 0L +it• 6lmost unlimited 2or 4 +it• 4 +it < T t)i#e slo)er t!an 0L< T• 8 u< T t!e same #ode +ase as 0L< T• 8 u< T 2or 4 +it ar#!ite#ture• L; is 2aster t!at 0L < T• 8 u< T app 0R 2aster t!an 0L< T
8 u< T ne) .NET < T #ompiler
nstall and settin=
8/17/2019 Visual Studio 14 Sta Dolazi
32/45
3. Microsoft Community BiH konfere
• t)o )a s to turn on 8 u< T. –
set an environment varia+le: %-'(/7S 6lt
8/17/2019 Visual Studio 14 Sta Dolazi
33/45
3. Microsoft Community BiH konfere
1. uild ta+$ #!e#k (re2er 0LA+it#!e#k+o;
L.9e+u= ta+$ #!e#k Ena+le nativ#ode de+u==in=0.62ter +uild #!e#k i2 protojit.dll
loaded
Ena+le 8 u< T in VS
8/17/2019 Visual Studio 14 Sta Dolazi
34/45
3. Microsoft Community BiH konfere
8 u< T 9emo
Settin= up 8 u< T #ompiler
8/17/2019 Visual Studio 14 Sta Dolazi
35/45
3. Microsoft Community BiH konfere
• (re#ompilation te#!nolo= +uildin= ,indStore app
• .NET apps #ompiled to / #ode.• 6t 8unATime < T #ompiler translates /
in to native• 6t 9esi=n Time .NET Native dire#tl #om
%& apps tar=ets .NET in to native #ode
.NET Native
it! NET Native our
8/17/2019 Visual Studio 14 Sta Dolazi
36/45
3. Microsoft Community BiH konfere
• (rovides superior per2orman#e o2native apps
•
Still usin= %& lan=ua=e and .NET@rame)ork• Still usin= de+u==in= and develop
e;perien#e o2 .NET
,it! .NET Native ourapps
8/17/2019 Visual Studio 14 Sta Dolazi
37/45
3. Microsoft Community BiH konfere
1. uildin= t!e 'S / appli#ation 2rom sour#eL.Heneratin= interop mars!alin= and serialization0.'er=in= t!e appli#ation4.8edu#in= t!e appli#ation5.-t!er 'S / trans2ormations
.%ompilin= 2rom 'S / to 'a#!ine 9ependentntermediate /an=ua=e B'9 /
Q. indin= 2rom '9 / to native #ode
Q steps in +uildin= .NET native app
8/17/2019 Visual Studio 14 Sta Dolazi
38/45
3. Microsoft Community BiH konfere
.NET Native apps alread in t!e store
8/17/2019 Visual Studio 14 Sta Dolazi
39/45
3. Microsoft Community BiH konfere
Visual studio e;perien#e 2ot .NET Native
1. Ena+le L. 9e+u= testapp
NET N i 9
8/17/2019 Visual Studio 14 Sta Dolazi
40/45
3. Microsoft Community BiH konfere
.NET Native 9emo
%ompilin= )it! .NET Native
Vi l S di 7 d 14 %T(
8/17/2019 Visual Studio 14 Sta Dolazi
41/45
3. Microsoft Community BiH konfere
Visual Studio 7pdate 14 %T(• %ode/ens 2or H T• No 'ore 6ll %aps• Ne) Set o2 %ode editor )it! po)er2ull
tools ntellisense$ %ode#ompletion$Sear#!in=$..
• 9e+u==in= Tools$ 'emor proOlers$ et• En!an#ed %II11 14 Support
8/17/2019 Visual Studio 14 Sta Dolazi
42/45
3. Microsoft Community BiH konfere
Cloud
S
8/17/2019 Visual Studio 14 Sta Dolazi
43/45
3. Microsoft Community BiH konfere
Summar• Ne) dire#tions 2or .NET and VS•
'o+ile on %rossA9evi#e$ -S and (lat2o• ,e+ and 6sp.NET vNe;t B'a#$ /inu;$[• %loud Visual Studio -nline VS in t!e #•
9esktop 8osl n$ 8 u< T$.NET Nati• > 6
8/17/2019 Visual Studio 14 Sta Dolazi
44/45
3. Microsoft Community BiH konfere
)itan/a0
8/17/2019 Visual Studio 14 Sta Dolazi
45/45
3. Microsoft Community BiH konfere
$vala vam na
pa1n/i