-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex4.html
428 lines (404 loc) · 32.7 KB
/
index4.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
<!DOCTYPE html>
<html lang="en">
<head>
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="http://www.emadmokhtar.com/theme/stylesheet/style.min.css">
<link rel="stylesheet" type="text/css" href="http://www.emadmokhtar.com/theme/stylesheet/pygments.min.css">
<link rel="stylesheet" type="text/css" href="http://www.emadmokhtar.com/theme/stylesheet/font-awesome.min.css">
<link href="http://www.emadmokhtar.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Emad Mokhtar's Framework Atom">
<link href="http://www.emadmokhtar.com/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Emad Mokhtar's Framework RSS">
<link rel="shortcut icon" href="http://www.emadmokhtar.com/images/favicon.ico" type="image/x-icon">
<link rel="icon" href="http://www.emadmokhtar.com/images/favicon.ico" type="image/x-icon">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="" />
<meta name="author" content="Emad Mokhtar" />
<meta name="description" content="My thoughts and experince on software development and life." />
<meta property="og:site_name" content="Emad Mokhtar's Framework"/>
<meta property="og:type" content="blog"/>
<meta property="og:title" content="Emad Mokhtar's Framework"/>
<meta property="og:description" content="My thoughts and experince on software development and life."/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="http://www.emadmokhtar.com"/>
<meta property="og:image" content="http://www.emadmokhtar.com/images/profile.jpg">
<title>Emad Mokhtar's Framework</title>
</head>
<body>
<aside>
<div>
<a href="http://www.emadmokhtar.com">
<img src="http://www.emadmokhtar.com/images/profile.jpg" alt="" title="">
</a>
<h1><a href="http://www.emadmokhtar.com"></a></h1>
<p>Geek developer who's in search of code perfection.</p>
<nav>
<ul class="list">
<li><a href="http://www.emadmokhtar.com">Blog</a></li>
<li><a href="http://www.emadmokhtar.com/pages/podcasts.html#podcasts">Podcasts</a></li>
<li><a href="http://www.emadmokhtar.com/pages/projects.html#projects">Projects</a></li>
<li><a href="https://emadmokhtar.github.io/resume" target="_blank">Resume</a></li>
</ul>
</nav>
<ul class="social">
<li><a class="sc-envelope-o" href="mailto:emad@emadmokhtar.com" target="_blank"><i class="fa fa-envelope-o"></i></a></li>
<li><a class="sc-github" href="https://www.github.com/EmadMokhtar" target="_blank"><i class="fa fa-github"></i></a></li>
<li><a class="sc-linkedin" href="https://www.linkedin.com/in/emadmokhtar/" target="_blank"><i class="fa fa-linkedin"></i></a></li>
<li><a class="sc-stack-overflow" href="http://stackoverflow.com/users/373051/emad-mokhtar" target="_blank"><i class="fa fa-stack-overflow"></i></a></li>
<li><a class="sc-facebook" href="https://www.facebook.com/emadmokhtarframework/" target="_blank"><i class="fa fa-facebook"></i></a></li>
<li><a class="sc-twitter" href="https://twitter.com/emadmokhtar" target="_blank"><i class="fa fa-twitter"></i></a></li>
</ul>
</div>
</aside>
<main>
<nav>
<a href="http://www.emadmokhtar.com">Home</a>
<a href="https://emadmokhtar.github.io/resume">Resume</a>
<a href="http://www.emadmokhtar.com/feeds/all.atom.xml">Atom</a>
<a href="http://www.emadmokhtar.com/feeds/all.rss.xml">RSS</a>
</nav>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/run-rabbit-run.html#run-rabbit-run">Run rabbit run</a></h2>
<p>
Posted on Thu 16 October 2014 in <a href="http://www.emadmokhtar.com/category/developer.html">Developer</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/dreams.html">dreams</a>, <a href="http://www.emadmokhtar.com/tag/life.html">life</a> • <a href="http://www.emadmokhtar.com/run-rabbit-run.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p><img alt="image" src="http://www.emadmokhtar.com/images/wpid-wp-1413429250063.jpeg"></p>
<blockquote>
<p>Run rabbit run, dig that hole forget the sun, and when at last the
work is done, don't sit down it's time to dig another one. #PinkFloyd</p>
</blockquote>
<p>We keep running in the same freakin loop/circle & forget
pursuiting/catch our dreams and goals, and just stick to little small
useless life events.</p>
<p>Sometimes we invent things to take them as excuses like money, time,
children, place, or company. Manage yourself and take guidance from
Allah, fix your issues aka & "excuses" , have a dream no no have a lot
of dreams and live your life to catch the and make them true.</p>
<p>Ask yourself every morning, Am I like what I'm doing? If no please quit
it and go live your life and search about what you are like to do and
start living it, one day shorter breathe and here come the death</p>
<a class="btn" href="http://www.emadmokhtar.com/run-rabbit-run.html#run-rabbit-run">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/easy-taxi-app-review.html#easy-taxi-app-review">Easy Taxi app review</a></h2>
<p>
Posted on Thu 18 September 2014 in <a href="http://www.emadmokhtar.com/category/review.html">Review</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/application.html">application</a>, <a href="http://www.emadmokhtar.com/tag/apps.html">apps</a>, <a href="http://www.emadmokhtar.com/tag/easytaxi.html">easytaxi</a>, <a href="http://www.emadmokhtar.com/tag/mobileapp.html">mobileapp</a>, <a href="http://www.emadmokhtar.com/tag/review.html">review</a>, <a href="http://www.emadmokhtar.com/tag/taxi.html">taxi</a> • <a href="http://www.emadmokhtar.com/easy-taxi-app-review.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p>I was having my annual vacation in Egypt, and I had the chance to download Easy Taxi application on my mobile phone, I have downloaded and installed the application on my mobile phone “Nokia Lumia 920”, I created an account and started use the application. I'll share my experience with you. </p>
<h2>My experience:</h2>
<p>I was at Abbasia Street and want to go to Al Shams Sporting Club, I opened the application and it detected my location:</p>
<p><img alt="clip_image002" src="http://www.emadmokhtar.com/images/clip_image002.png"></p>
<p>Then I request a taxi, application will ask about my destination and more information about my location, and when I submitted the request, it send a request and wait for a driver to accept the request.</p>
<p><img alt="clip_image004" src="http://www.emadmokhtar.com/images/clip_image004.jpg"></p>
<p><img alt="clip_image006" src="http://www.emadmokhtar.com/images/wp_ss_20140726_0004.png"></p>
<p><img alt="clip_image008" src="http://www.emadmokhtar.com/images/wp_ss_20140726_0005.png"></p>
<p>The application showed driver's contact and car information, and his
current location, so that I can call him and keep tracking his position.</p>
<p><img alt="clip_image010" src="http://www.emadmokhtar.com/images/wp_ss_20140726_0006.png"></p>
<p>Then when the taxi arrived application notified me</p>
<p><img alt="clip_image012" src="http://www.emadmokhtar.com/images/wp_ss_20140726_0007.png"> </p>
<h2>Conclusion:</h2>
<p><strong>Pros:</strong></p>
<ol>
<li>Request Taxi without any human interaction, maybe there will be phone calls.</li>
<li>Share Taxi’s car information, so you have a log and can ride this taxi safely.</li>
<li>Share Taxi’s contact information, so you can call him whenever you want.</li>
<li>Share your location, so no need to tell the driver where you are.</li>
<li>Real …</li></ol>
<a class="btn" href="http://www.emadmokhtar.com/easy-taxi-app-review.html#easy-taxi-app-review">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/aspnet-webforms-notification-control.html#aspnet-webforms-notification-control">ASP.NET WebForms Notification Control</a></h2>
<p>
Posted on Thu 19 June 2014 in <a href="http://www.emadmokhtar.com/category/aspnet.html">ASP.NET</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/aspnet.html">aspnet</a> • <a href="http://www.emadmokhtar.com/aspnet-webforms-notification-control.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p>In 2012 I wrote about <a href="//Using Notification in ASP.NET WebForms.md/http://www.emadmokhtar.com/aspnet-webforms-notification-control.html">using notification in ASP.NET WebForms</a> and most of questions I’ve got are asking about why it isn’t working, so I thought I can make it easier for developers by creating ASP.NET Server Control that has notification functionality and developers can reuse it like any ASP.NET Server Control in their toolbox.</p>
<h1>About the Project</h1>
<p>Notification Control is open source/free ASP.NET server control like <a href="http://www.asp.net/ajax/ajaxcontroltoolkit/samples//ajaxlibrary/AjaxControlToolkitSamp eSite/">ASP.NET Ajax toolkit controls</a>, it’s wrapper for awesome jQuery plug-in called <a href="http://www.givainc.com/labs/jnotify_jquery_plugin.cfm">jNotify</a> to use it’s functionality from code behind, it’s on <a href="https://github.com/EmadMokhtar/CustomControls.NotificationControl">GitHub</a>, please fork it, or test it and report bugs/issues on GitHub.</p>
<p>You can find demo <a href="http://notificaitoncontrol.azurewebsites.net/">here</a></p>
<h1>How to Install</h1>
<h2>Download via GitHub repository</h2>
<ol>
<li>
<p>Download the repository as<strong> </strong> <a href="https://github.com/EmadMokhtar/CustomControls.NotificationControl/archive/master.zip">Zip file</a>.</p>
</li>
<li>
<p>Run Visual Studio, and open project.<img alt="Screenshot-0016" src="http://www.emadmokhtar.com/wp-content/uploads/Screenshot-00161.png"></p>
</li>
<li>
<p>Build the project.<img alt="Screenshot-0026" src="http://www.emadmokhtar.com/wp-content/uploads/Screenshot-00261.png"><img alt="Screenshot-0019" src="http://www.emadmokhtar.com/wp-content/uploads/Screenshot-00191.png"></p>
</li>
<li>
<p>Go to bin/Release folder and locate the <code>CustomControls.NotificationControl.dll</code> file. <img alt="Screenshot-0020" src="http://www.emadmokhtar.com/wp-content/uploads/Screenshot-00202.png"></p>
</li>
</ol>
<h2>Download via Nuget:</h2>
<ol>
<li>
<p>In Visual Studio open Package Manager Console and type <code>Install-Package NotificationControl</code>, wait until the package download is done, and open the project folder, then browse to <strong>{ProjectFolder}/NotificationControl.{version}</strong> you’ll find the DLL file.</p>
</li>
<li>
<p>In your ASP.NET WebForms project open any .ASPX file then …</p></li></ol>
<a class="btn" href="http://www.emadmokhtar.com/aspnet-webforms-notification-control.html#aspnet-webforms-notification-control">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/c-string-concatenation-best-practice.html#c-string-concatenation-best-practice">C# String Concatenation Best Practice</a></h2>
<p>
Posted on Wed 18 June 2014 in <a href="http://www.emadmokhtar.com/category/dotnet.html">dotNet</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/csharp.html">csharp</a> • <a href="http://www.emadmokhtar.com/c-string-concatenation-best-practice.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p>Once I’ve start to learn .NET and C# I heard about the difference
between string <strong>+ concatenation operator</strong> and <strong>StringBuilder</strong> class
in C# and how to use them and which on is better to perform string
concatenation, so I thought to give it a real benchmark and see the
results.</p>
<p>For benchmarking I’ll use <code>+ Operator</code>, <code>StringBuilde</code> class, and
<code>string.Concat()</code> method, so let’s start.</p>
<h1>Code:</h1>
<div class="highlight"><pre><span></span><span class="kt">var</span> <span class="n">nameUsingPlus</span> <span class="p">=</span> <span class="s">"I will tell all of my friends about emadmokhtar.com today!"</span><span class="p">;</span>
<span class="kt">var</span> <span class="n">plusWatch</span> <span class="p">=</span> <span class="n">Stopwatch</span><span class="p">.</span><span class="n">StartNew</span><span class="p">();</span>
<span class="k">for</span> <span class="p">(</span><span class="kt">int</span> <span class="n">i</span> <span class="p">=</span> <span class="m">0</span><span class="p">;</span> <span class="n">i</span> <span class="p"><</span> <span class="m">10000</span><span class="p">;</span> <span class="n">i</span><span class="p">++)</span>
<span class="p">{</span>
<span class="n">nameUsingPlus</span> <span class="p">+=</span> <span class="s">" I will tell all of my friends about emadmokhtar.com today!"</span><span class="p">;</span>
<span class="p">}</span>
<span class="n">plusWatch</span><span class="p">.</span><span class="n">Stop</span><span class="p">();</span>
<span class="kt">var</span> <span class="n">nameConcatMethod</span> <span class="p">=</span> <span class="s">"I will tell all of my friends about emadmokhtar.com today!"</span><span class="p">;</span>
<span class="kt">var</span> <span class="n">concatMethodWatch</span> <span class="p">=</span> <span class="n">Stopwatch</span><span class="p">.</span><span class="n">StartNew</span><span class="p">();</span>
<span class="k">for</span> <span class="p">(</span><span class="kt">int</span> <span class="n">i</span> <span class="p">=</span> <span class="m">0</span><span class="p">;</span> <span class="n">i</span> <span class="p"><</span> <span class="m">10000</span><span class="p">;</span> <span class="n">i</span><span class="p">++)</span>
<span class="p">{</span>
<span class="n">nameConcatMethod</span> <span class="p">=</span> <span class="kt">string</span><span class="p">.</span><span class="n">Concat</span><span class="p">(</span><span class="n">nameConcatMethod</span><span class="p">,</span> <span class="s">" I will tell all of my friends about emadmokhtar.com today!"</span><span class="p">);</span>
<span class="p">}</span>
<span class="n">concatMethodWatch</span><span class="p">.</span><span class="n">Stop</span><span class="p">();</span>
<span class="kt">var</span> <span class="n">nameStringBuilder</span> <span class="p">=</span> <span class="k">new</span> <span class="n">StringBuilder</span><span class="p">(</span><span class="s">"I will tell all of my friends about emadmokhtar.com today!"</span><span class="p">);</span>
<span class="kt">var</span> <span class="n">stringBuilderWatch</span> <span class="p">=</span> <span class="n">Stopwatch</span><span class="p">.</span><span class="n">StartNew</span><span class="p">();</span>
<span class="k">for</span> <span class="p">(</span><span class="kt">int</span> <span class="n">i</span> <span class="p">=</span> <span class="m">0</span><span class="p">;</span> <span class="n">i</span> <span class="p"><</span> <span class="m">1000000</span><span class="p">;</span> <span class="n">i</span><span class="p">++)</span>
<span class="p">{</span>
<span class="n">nameStringBuilder</span><span class="p">.</span><span class="n">Append</span><span class="p">(</span><span class="s">" I will tell all of my friends about emadmokhtar.com today!"</span><span class="p">);</span>
<span class="p">}</span>
<span class="kt">var</span> <span class="n">name</span> <span class="p">=</span> <span class="n">nameStringBuilder</span><span class="p">.</span><span class="n">ToString</span><span class="p">();</span>
<span class="n">stringBuilderWatch</span><span class="p">.</span><span class="n">Stop</span><span class="p">();</span>
<span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">"Plus Oprator took {0}"</span><span class="p">,</span> <span class="n">plusWatch</span><span class="p">.</span><span class="n">Elapsed</span><span class="p">.</span><span class="n">Milliseconds …</span></pre></div>
<a class="btn" href="http://www.emadmokhtar.com/c-string-concatenation-best-practice.html#c-string-concatenation-best-practice">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/generate-poco-for-database-tables-using-t4-template.html#generate-poco-for-database-tables-using-t4-template">Generate POCO for Database Tables Using T4 Template</a></h2>
<p>
Posted on Mon 12 May 2014 in <a href="http://www.emadmokhtar.com/category/developer.html">Developer</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/poco.html">poco</a>, <a href="http://www.emadmokhtar.com/tag/t4.html">t4</a>, <a href="http://www.emadmokhtar.com/tag/dotnet.html">dotNET</a>, <a href="http://www.emadmokhtar.com/tag/c.html">C#</a> • <a href="http://www.emadmokhtar.com/generate-poco-for-database-tables-using-t4-template.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p>If you are using Micro-ORM which doesn’t have fancy UI that generate your data model for you, or you want a free tool to generate <a href="http://en.wikipedia.org/wiki/Plain_Old_CLR_Object">POCO</a> classes for you, I’ve got a solution for you. Personally I prefer using <a href="http://en.wikipedia.org/wiki/Text_Template_Transformation_Toolkit">T4 template</a> that <a href="http://www.toptensoftware.com/petapoco/">PetaPoco</a> provides, so let’s see how you can use it.</p>
<h1>Let’s Start:</h1>
<p>First, install/add PetaPoco to your project using Nuget:</p>
<div class="highlight"><pre><span></span>1. Open **Package Manager Console** and type `install-package petapoco`
2. Wait until package downloaded and installed to your project.
</pre></div>
<p><img alt="packagemanager" src="http://www.emadmokhtar.com/images/packagemanager.png"></p>
<p><img alt="solutionafterinstall" src="http://www.emadmokhtar.com/images/solutionafterinstall.png"></p>
<p>Second, modify T4 template to generate POCO classes for you:</p>
<ol>
<li>Open <code>Database.tt</code> file and modify Settings part.</li>
<li>In <code>ConnectionStringName</code> write your database connection string name which located in app.config or web.config.</li>
<li>In <code>Namespace</code> write the namespace for generated Poco classes.</li>
<li>In <code>RepoName</code> write Repository name, this is optional and recommended if you’ll use PetaPoco.</li>
<li>In <code>ClassPerfex</code> write required class name prefix, this is optional.</li>
<li>In <code>ClassSuffix</code> write required class name suffix, this is optional.</li>
<li>Save the file.</li>
</ol>
<p><img alt="settings" src="http://www.emadmokhtar.com/images/settings.png"></p>
<p>Third, congratulation your POCO classes and Repo generated under Database.tt –> Database.cs.</p>
<p><img alt="pocos" src="http://www.emadmokhtar.com/images/pocos.png"></p>
<h1>Notes:</h1>
<ul>
<li>Make sure you set <code>providerName</code> in <code>ConnectString</code> or T4 template will not work.</li>
<li>If you faced C# issue during …</li></ul>
<a class="btn" href="http://www.emadmokhtar.com/generate-poco-for-database-tables-using-t4-template.html#generate-poco-for-database-tables-using-t4-template">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/book-review-windows-powershell-4-0-for-net-developers.html#book-review-windows-powershell-4-0-for-net-developers">Book Review: Windows PowerShell 4.0 for .NET Developers</a></h2>
<p>
Posted on Wed 30 April 2014 in <a href="http://www.emadmokhtar.com/category/review.html">Review</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/book.html">book</a>, <a href="http://www.emadmokhtar.com/tag/bookreview.html">bookreview</a>, <a href="http://www.emadmokhtar.com/tag/dotnet.html">dotNet</a>, <a href="http://www.emadmokhtar.com/tag/powershell.html">powershell</a> • <a href="http://www.emadmokhtar.com/book-review-windows-powershell-4-0-for-net-developers.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p><img alt="dotNET_Developers" src="http://www.emadmokhtar.com/images/dotNET_Developers.jpg"></p>
<p>My academic colleague <a href="http://www.sheriftalaat.com/">Sherif Talaat</a>
released his second book <a href="http://www.packtpub.com/windows-powershell-4-0-for-dotnet-developers/book">Windows PowerShell 4.0 for .NET
Developers</a>
which is filling the gap between .NET Developers and Administration tool
like Windows PowerShell, before reading this book I was having small
information about PowerShell and I didn’t know it’ll help me in my
development tasks. Target audiences of this book are .NET Developers.</p>
<h1>Chapter 1: Getting Started with Windows PowerShell</h1>
<p>It’s an introduction chapter with very basic information about
PowerShell and the scripting environments.</p>
<h1>Chapter 2: Unleashing Your Development Skills with PowerShell</h1>
<p>From this chapter things start to get real and you’ll find script to do
some job like Create .NET Object, parse and query XML files, create
modules, etc..</p>
<h1>Chapter 3: PowerShell for Your Daily Administration Tasks</h1>
<p>Where things getting more excitement, in this chapter you will learn how
to use execute PowerShell <em>cmdlet</em>s remotely on other machine, execute
your script as workflow, use PowerShell with SQL SERVER and IIS
(Internet Information Services), and last but not least manage local
users and groups with PowerShell.</p>
<h1>Chapter 4: PowerShell and Web Technologies</h1>
<p>In this chapter you’ll see that PowerShell can deal with Web Services
SOAP or REST …</p>
<a class="btn" href="http://www.emadmokhtar.com/book-review-windows-powershell-4-0-for-net-developers.html#book-review-windows-powershell-4-0-for-net-developers">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/net-developer-comfort-zone.html#net-developer-comfort-zone">.NET Developer Comfort Zone</a></h2>
<p>
Posted on Mon 17 March 2014 in <a href="http://www.emadmokhtar.com/category/developer.html">developer</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/developer.html">developer</a>, <a href="http://www.emadmokhtar.com/tag/development.html">development</a>, <a href="http://www.emadmokhtar.com/tag/dotnet.html">dotNet</a> • <a href="http://www.emadmokhtar.com/net-developer-comfort-zone.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p><img alt="red-pill-or-blue-pill" src="http://www.emadmokhtar.com/images/red-pill-or-blue-pill.jpg"></p>
<p>I’m a .NET developer and to be specific I’m a web developer who use .NET framework and .NET stack to create web application (Web App), and nowadays I’m learning ASP.NET MVC to move from WebForms world to MVC world, but in future I’m planning to get out of my comfort zone again and get out of .NET world and try the open source software (OSS) world, I’ve attended many sessions for <a href="http://gdgkuwait.com/">GDG Kuwait</a> which is Google Developers Group located in Kuwait and the only developer group in here with .NET/C# experience and it’s full of enthusiasm developers.</p>
<p>When I will take this leap/paradigm shift I will take it for real, let me explain what I mean by that. What I’m planning is learning <a href="http://rubyonrails.org/">Ruby on Rails</a>, maybe you want to learn <a href="https://www.djangoproject.com/">Django</a> or <a href="http://nodejs.org/">Node.js</a> but when you will, please don’t try to stick to Microsoft world, don’t be afraid to get out of your comfort zone, please don’t use <a href="https://nodejstools.codeplex.com/">Node.js tools for Visual Studio</a>, or <a href="https://pytools.codeplex.com/">Python tools for Visual Studio</a>, or <a href="http://www.sapphiresteel.com/Products/sapphire-ide/article/ruby-in-steel-developer-overview">Ruby In Steel Developer</a> these Frameworks works great with Linux operating systems so learn …</p>
<a class="btn" href="http://www.emadmokhtar.com/net-developer-comfort-zone.html#net-developer-comfort-zone">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/when-old-technologyframework-dies.html#when-old-technologyframework-dies">When Old Technology/Framework Dies?</a></h2>
<p>
Posted on Tue 11 February 2014 in <a href="http://www.emadmokhtar.com/category/developer.html">Developer</a>
• <a href="http://www.emadmokhtar.com/when-old-technologyframework-dies.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p><img alt="darthvader-design" src="http://www.emadmokhtar.com/images/darthvader-design.jpg"></p>
<p>I was wondering when old framework dies? it’s matter of time or matter of usage? let’s talk first about what are things make me wonder?</p>
<h2>Sage CRM</h2>
<p>Last week I’ve got my hand dirty with Sage CRM and I was completely shocked when I found it’s built using <a href="http://en.wikipedia.org/wiki/Active_Server_Pages">Classic ASP</a>. I had WTF moment and asked myself Is this thing still alive? WOW it’s 13 years old Why Sage? Why this very old technology? What I’m always heard about Classic ASP is crap and thank god for modern web frameworks. Is it expensive to upgrade the technology used in your application so that Sage is released 7 versions of it’s CRM built using Classic ASP? When Sage will invest to start use new framework like ASP.NET MVC or even go to another part of the world <em>(world of open-source frameworks)</em> and use something like <a href="http://rubyonrails.org/">Ruby on Rails</a> or <a href="https://www.djangoproject.com/">Django</a>?</p>
<h2>Microsoft SharePoint</h2>
<p>The Microsoft golden boy is build using ASP.NET WebForms, yes I know ASP.NET framework isn’t old framework but still Microsoft released <a href="http://www.microsoft.com/en-us/download/details.aspx?id=5388">ASP.NET MVC v1.0 in 13 March 2009</a> so it’s near 6 years old, and …</p>
<a class="btn" href="http://www.emadmokhtar.com/when-old-technologyframework-dies.html#when-old-technologyframework-dies">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/microsoft-windows-phone-just-do-it.html#microsoft-windows-phone-just-do-it">Microsoft Windows Phone Just DO It.</a></h2>
<p>
Posted on Mon 11 November 2013 in <a href="http://www.emadmokhtar.com/category/geek.html">Geek</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/lumia.html">Lumia</a>, <a href="http://www.emadmokhtar.com/tag/lumia920.html">Lumia920</a>, <a href="http://www.emadmokhtar.com/tag/nokia.html">Nokia</a>, <a href="http://www.emadmokhtar.com/tag/windowsphone.html">WindowsPhone</a>, <a href="http://www.emadmokhtar.com/tag/wp8.html">WP8</a> • <a href="http://www.emadmokhtar.com/microsoft-windows-phone-just-do-it.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p>In the beginning of 2013 my HTC Desire HD screen broke and I had to buy new phone, I did my investigation and found Nokia Lumia 920 is the best one for me, I bought it with the risk of Microsoft Windows Phone is not mature enough and it has apps less than Android and iOS. I tool the same risk when I bought HTC Desire HD, Android wasn’t mature enough and has apps less than iOS, but Google was super fast to develop its mobile OS and take big leap in mobile market and attract developers to its platform.</p>
<p>Microsoft Windows Phone has many missing features and these features include simple basic feature “I’ll mention them later” but if Microsoft Windows Phone didn’t accelerate its development and listen to its customer, it’ll lose them and it’ll lose the tiny market share it has. Many apps are missing in Microsoft Windows Phone and I don’t know why companies aren’t developing their apps for Microsoft Windows Phone, for example instagram they didn’t develop its app but “ONE” developer developed an app called <a href="http://www.windowsphone.com/en-us/store/app/6tag/7d795cdf-fb1b-4bdf-8f5e-76eb19f7079e">6tag</a> which is better than instagram app on Android and iOS …</p>
<a class="btn" href="http://www.emadmokhtar.com/microsoft-windows-phone-just-do-it.html#microsoft-windows-phone-just-do-it">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/no-more-horizontal-scroll-bar-in-visual-studio-2012.html#no-more-horizontal-scroll-bar-in-visual-studio-2012">No More Horizontal Scroll Bar in Visual Studio 2012</a></h2>
<p>
Posted on Sun 03 November 2013 in <a href="http://www.emadmokhtar.com/category/tools.html">Tools</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/visualstudio.html">VisualStudio</a>, <a href="http://www.emadmokhtar.com/tag/vs2012.html">VS2012</a> • <a href="http://www.emadmokhtar.com/no-more-horizontal-scroll-bar-in-visual-studio-2012.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p>Every time I’m working on ASP.NET WebForms and open .ASPX file I found an ugly Horizontal scroll bar, and the worst case when you’re searching for attribute for big control like GridView and you want to change it, it’s like a hell, I hate doing this and sadly as developer I’m doing it frequently.</p>
<p><img alt="Code Lines Without Wrap" src="http://www.emadmokhtar.com/images/0311201340607PM.png"></p>
<p>After investigations and googling, I found the solution is to have all the text in front of me and let Visual Studio to wrap it for me. You can do this In Visual Studio 2012 go to Tools –> Options –> Text Editor –> All Languages –> Check Word wrap.</p>
<p><img alt="Word wrap Settings" src="http://www.emadmokhtar.com/images/SNAGIT.png"></p>
<p>After choosing this option Visual Studio 2012 will word warp the lines
according to your screen but (yes but) Microsoft missing a feature which
is respect the line Indentation. If you choose this option line after
wrap will start from the left.</p>
<p><img alt="Wrapped Lines Without Indentation" src="http://www.emadmokhtar.com/images/0311201340025PM.png"></p>
<p>To solve this there is a small extension you can us called <a href="http://visualstudiogallery.msdn.microsoft.com/a5b5001e-fe7a-4c08-9cf5-96ae5892088a">WordWrapIndentation</a> download it and it’ll be activated once you activate Word wrap option.</p>
<p><img alt="WordWrapIndentation Lines" src="http://www.emadmokhtar.com/images/0311201340324PM.png"></p>
<p>That’s all folks.</p>
<a class="btn" href="http://www.emadmokhtar.com/no-more-horizontal-scroll-bar-in-visual-studio-2012.html#no-more-horizontal-scroll-bar-in-visual-studio-2012">Continue reading</a>
</div>
</article>
<div class="pagination">
<a class="btn" href="http://www.emadmokhtar.com/index5.html">
<i class="fa fa-angle-left"></i> Older Posts
</a>
<a class="btn float-right" href="http://www.emadmokhtar.com/index3.html">
Newer Posts <i class="fa fa-angle-right"></i>
</a>
</div>
<footer>
<p>© Emad Mokhtar </p>
<p>Built using <a href="http://getpelican.com" target="_blank">Pelican</a> - <a href="https://github.com/alexandrevicenzi/flex" target="_blank">Flex</a> theme by <a href="http://alexandrevicenzi.com" target="_blank">Alexandre Vicenzi</a></p> </footer>
</main>
<!-- Google Analytics -->
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-11401860-2', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Emad Mokhtar's Framework ",
"url" : "http://www.emadmokhtar.com",
"image": "http://www.emadmokhtar.com/images/profile.jpg",
"description": "My thoughts and experince on software development and life."
}
</script><script type="text/javascript">
var disqus_shortname = 'emadmokhtarsframework';
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
</body>
</html>