-
Notifications
You must be signed in to change notification settings - Fork 0
/
index6.html
391 lines (369 loc) · 27.1 KB
/
index6.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
<!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/communication-with-your-customer.html#communication-with-your-customer">Communication with your customer</a></h2>
<p>
Posted on Sat 10 March 2012 in <a href="http://www.emadmokhtar.com/category/developer.html">Developer</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/development.html">development</a>, <a href="http://www.emadmokhtar.com/tag/software.html">software</a> • <a href="http://www.emadmokhtar.com/communication-with-your-customer.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p><img alt="people sleeping on the floor at airport" src="http://www.emadmokhtar.com/images/pict0554.jpg"></p>
<p>Today I was having a flight from Egypt, Cairo International Airport to
Kuwait International Airport and when the airplane was almost reach
Kuwait the pilot keep flying in circles and never enter the Kuwaiti
boards and fly to the Arabian Gulf for 15 minutes we are wondering Why
is he flying in all direction but not the one to Kuwait?</p>
<p>This situation give me a sight for How your customer will feel when you
haven’t or stop giving him/her information about the software. s/he’ll
keep wondering what is he doing to my product? Is it done? Is it won’t
be done? and sometimes his/her mind will go to the opposite direction
of what you are doing.</p>
<p>Finally we found that there is a sandstorm at Kuwait International
Airport and the visibility is zero and we can’t land, so we changed our
direction to Dubai Airport to land there and what for the sandstorm to
stop so we can get back. None of us thing in this.</p>
<p>The part above I wrote while I’m sitting on floor beside the power
socket to charge my laptop s I can write these thoughts and here …</p>
<a class="btn" href="http://www.emadmokhtar.com/communication-with-your-customer.html#communication-with-your-customer">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/using-notification-in-aspnet-webforms.html#using-notification-in-aspnet-webforms">Using Notification in ASP.NET WebForms</a></h2>
<p>
Posted on Thu 02 February 2012 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/tag/jnotify.html">jnotify</a>, <a href="http://www.emadmokhtar.com/tag/jquery.html">jquery</a> • <a href="http://www.emadmokhtar.com/using-notification-in-aspnet-webforms.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p>I always asked myself, how can I show a neat notification and call it
from Page code behind? I want to call this notification after doing
something in code behind, for example notify user that “Record Inserted
Successfully” and this notification looks like the one on
<a href="http://twitter.com/">Twitter</a> and
<a href="http://stackoverflow.com/">Stackoverflow</a>. I found jQuery plug-in
called <a href="http://www.givainc.com/labs/jnotify_jquery_plugin.htm">jNotify</a>
has what I want from the notification, and ASP.NET has the Method
“<strong><a href="http://msdn.microsoft.com/en-us/library/asz8zsxy.aspx">ClientScriptManager.RegisterStartupScript
Method</a></strong>” to add
Script to page on runtime, so why not combine 2 together and create a
helper method plus make it extension method for
<a href="http://msdn.microsoft.com/en-us/library/system.web.ui.page.aspx">Page</a>.</p>
<h4>Helper Method:</h4>
<p>This is the most important part, here where the 2 part I mentioned
above.</p>
<div class="highlight"><pre><span></span>using System.Web.UI;
namespace jQueryNotification.Helper
{
public static class NotificationHelper
{
/// <span class="nt"><summary></span>
/// Shows the successful notification.
/// <span class="nt"></summary></span>
/// <span class="nt"><param</span> <span class="na">name=</span><span class="s">"page"</span><span class="nt">></span>The page.<span class="nt"></param></span>
/// <span class="nt"><param</span> <span class="na">name=</span><span class="s">"message"</span><span class="nt">></span>The message.<span class="nt"></param></span>
public static void ShowSuccessfulNotification(this Page page, string message)
{
page.ClientScript.RegisterStartupScript(page.GetType(), "notificationScript",
"<span class="nt"><script</span> <span class="na">type=</span><span class="s">'text/javascript'</span><span class="nt">></span> $(document).ready(function () { $.jnotify('" +
message + "'); });<span class="nt"></script></span>");
}
}
}
</pre></div>
<h4>jNotify Script and Style:</h4>
<p>In order to use the helper method you need to add jQuery script and
jNotify script and style</p>
<div class="highlight"><pre><span></span><span class="p"><</span><span class="nt">link</span> <span class="na">href</span><span class="o">=</span><span class="s">"Styles/jquery.jnotify.css"</span> <span class="na">rel</span><span class="o">=</span><span class="s">"stylesheet"</span> <span class="na">type</span><span class="o">=</span><span class="s">"text/css"</span> <span class="p">/></span>
<span class="p"><</span><span class="nt">script …</span></pre></div>
<a class="btn" href="http://www.emadmokhtar.com/using-notification-in-aspnet-webforms.html#using-notification-in-aspnet-webforms">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/add-ajax-effect-to-aspnet-webforms-postbacks.html#add-ajax-effect-to-aspnet-webforms-postbacks">Add AJAX effect to ASP.NET Webforms postbacks</a></h2>
<p>
Posted on Sun 01 January 2012 in <a href="http://www.emadmokhtar.com/category/aspnet.html">ASP.NET</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/ajax.html">ajax</a>, <a href="http://www.emadmokhtar.com/tag/aspnet.html">asp.net</a>, <a href="http://www.emadmokhtar.com/tag/aspnet.html">aspnet</a>, <a href="http://www.emadmokhtar.com/tag/postback.html">postback</a>, <a href="http://www.emadmokhtar.com/tag/tips.html">tips</a>, <a href="http://www.emadmokhtar.com/tag/tricks.html">tricks</a> • <a href="http://www.emadmokhtar.com/add-ajax-effect-to-aspnet-webforms-postbacks.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p>If you want to add AJAX effect to ASP.NET webforms full postbacks, add
this meta tags to your page, or even better add it the your master page.</p>
<div class="highlight"><pre><span></span><span class="nt"><meta</span> <span class="na">content=</span><span class="s">"blendTrans(Duration=0.2)"</span> <span class="na">http-equiv=</span><span class="s">"Page-Enter"</span> <span class="nt">/></meta></span>
<span class="nt"><meta</span> <span class="na">content=</span><span class="s">"blendTrans(Duration=0.2)"</span> <span class="na">http-equiv=</span><span class="s">"Page-Exit"</span> <span class="nt">/></meta></span>
</pre></div>
<p>This effect will remove the blinking effect from ASP.NET pages, and
they call it <a href="http://secretgeek.net/fajax.asp">fajax</a> aka the fake
alternative to AJAX</p>
<a class="btn" href="http://www.emadmokhtar.com/add-ajax-effect-to-aspnet-webforms-postbacks.html#add-ajax-effect-to-aspnet-webforms-postbacks">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/code-kata-fizz-buzz-game.html#code-kata-fizz-buzz-game">Code Kata: Fizz Buzz Game</a></h2>
<p>
Posted on Tue 20 December 2011 in <a href="http://www.emadmokhtar.com/category/developer.html">Developer</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/code.html">code</a>, <a href="http://www.emadmokhtar.com/tag/coding.html">coding</a>, <a href="http://www.emadmokhtar.com/tag/game.html">game</a>, <a href="http://www.emadmokhtar.com/tag/kata.html">kata</a>, <a href="http://www.emadmokhtar.com/tag/programmer.html">programmer</a>, <a href="http://www.emadmokhtar.com/tag/programming.html">programming</a> • <a href="http://www.emadmokhtar.com/code-kata-fizz-buzz-game.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p>I stared to practice recently after reading more about how practicing is important for programmer to become professional and one way of practicing is <a href="http://www.emadmokhtar.com/coding-kata.html">Coding Kata</a>. I found a lot of problem to implement to practice and perform coding kata.</p>
<p>This post I'll talk about Fizz Buzz Game a.k.a. Bizz Buzz Game, it's numerical/math game, if the number is divisible by 3 replace it with fizz, or if number divisible by 5 replace it with buzz, or if number is divisible by 3 and 5 replace it with fizzbuzz. For example if we count from 1 to 20 it'll be like this: 1, 2, fizz, 4, buzz, fizz, 7, 8, fizz, buzz, 11, fizz, 13, 14, fizzbuzz, 16, 17, fizz, 19, buzz.</p>
<p>So how to code this game:</p>
<p>First I thought I can solve this game by:</p>
<p>If (this number is divisible by 3 and not divisible by 5) return fizz</p>
<p>else if (this number is not divisible by 3 and divisible by 5) return
buzz</p>
<p>else if (this number is divisible by 3 and divisible by 5) return
buzzfizz</p>
<p>else if(this number is not divisible by 3 and not divisible by 5)
return the number …</p>
<a class="btn" href="http://www.emadmokhtar.com/code-kata-fizz-buzz-game.html#code-kata-fizz-buzz-game">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/coding-kata.html#coding-kata">Coding Kata</a></h2>
<p>
Posted on Tue 06 December 2011 in <a href="http://www.emadmokhtar.com/category/developer.html">Developer</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/coding.html">coding</a>, <a href="http://www.emadmokhtar.com/tag/professional.html">professional</a>, <a href="http://www.emadmokhtar.com/tag/programmer.html">programmer</a>, <a href="http://www.emadmokhtar.com/tag/programming.html">programming</a> • <a href="http://www.emadmokhtar.com/coding-kata.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p><img alt="Practicing Guitar" src="http://www.emadmokhtar.com/images/Practicing_Guitar.jpg"></p>
<p>Recently I'm reading <a href="http://twitter.com/#!/unclebobmartin">Uncle Bob</a>'s
<a href="http://www.amazon.com/Clean-Coder-Conduct-Professional-Programmers/dp/0137081073" title="Clean Coder">Clean Coder book</a> and I read about how a professional programmer must always practice, like professional musicians, professional football player, and professional martial arts player. I'm learning how to play electric guitar, you need to start slowly "slow will gain speed" start with something easy and way to go to professional level, and believe me if you stop practicing you lose your speed, but this doesn't mean professional guitarist stop learning new things and stop practicing. When I see a guitarist do something great I ask myself how, how he did it? the answer is simple he practice.</p>
<p>Getting a job as programmer will not make you a professional one, doing your work in regular basis won't make you a professional programmer like walking everyday won't make you a professional athletic, you must challenge yourself, learning something new, or try to solve problem with your favorite programming language. Try do practice away from working time, and practice, practice, practice, practice, and practice.</p>
<p>In <a href="http://www.amazon.com/Clean-Coder-Conduct-Professional-Programmers/dp/0137081073" title="Clean Coder">CleanCoder</a>'s Chapter 6 talking about practicing and there's a part talking about coding kata, so What is Coding Kata?</p>
<p><img alt="Kata" src="http://www.emadmokhtar.com/images/Empi_kata.jpg"></p>
<ul>
<li>Kata is a Japanese word describing detailed choreographed patterns of movements …</li></ul>
<a class="btn" href="http://www.emadmokhtar.com/coding-kata.html#coding-kata">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/jump-from-dasblog-to-wordpress.html#jump-from-dasblog-to-wordpress">Jump from dasBlog to Wordpress</a></h2>
<p>
Posted on Wed 09 November 2011 in <a href="http://www.emadmokhtar.com/category/developer.html">Developer</a>
• <a href="http://www.emadmokhtar.com/jump-from-dasblog-to-wordpress.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p><img alt="Dasblog logo" src="http://www.emadmokhtar.com/images/DasBlog-Reflection-640x480-Green.jpg"> <strong>VS.</strong> <img alt="Wordpress logo" src="http://www.emadmokhtar.com/images/wordpress-with-text.png"></p>
<p>In my start into blogging I start to blog on <a href="http://wordpress.com/">wordpress.com</a> from hosting blog, I like it but after blogging many posts I found it has many limitations, so I decided to get self hosted blog engine, I searched for many blog engines and I inspired with<a href="http://www.hanselman.com/blog/">Scott Hanselman's blog</a> and downloaded <a href="http://dasblog.codeplex.com/">dasBlog engine</a>, hosted it locally, and start the journey of customizing and configuration, I wasn't as easy as it sounds, you must get your hand dirty with CSS, ASP.NET, JavaScript, and XML configuration files, but after 2 weeks I got it up and working. After a while I realized I want more fixable blog engine, start searching and found <a href="http://wordpress.org/">Wordpress</a> my old engine but the self hosted one is the most common blog used on the internet, even my buddy <a href="http://twitter.com/#!/meligy" title="@Meligy">Mohammed Meligy</a> once a while decided to use wordpress as <a href="http://gurustop.net/">his blog</a> engine. Decision has been made and it's time to buy PHP hosting instead of .NET one and install Wordpress; it took me 4\~5 days to complete this setup but if you subtract the 2 days I spent in searching for the suitable theme, the total is 2\~3 days to step my …</p>
<a class="btn" href="http://www.emadmokhtar.com/jump-from-dasblog-to-wordpress.html#jump-from-dasblog-to-wordpress">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/speedup-visual-studio-2010.html#speedup-visual-studio-2010">Speedup Visual Studio 2010</a></h2>
<p>
Posted on Wed 15 June 2011 in <a href="http://www.emadmokhtar.com/category/tools.html">Tools</a>
• <a href="http://www.emadmokhtar.com/speedup-visual-studio-2010.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p><img alt="VisualStudio-WallPaper" src="http://www.emadmokhtar.com/images/VisualStudio-WallPaper-04_2.jpg"></p>
<p>Every time I finished installing Microsoft Visual Studio 2010 on my machines I Google “Speedup Visual Studio 2010”, so for time sake I’m gathering the effective links in one place as reference to me and to anyone out there.</p>
<h1>Links</h1>
<ol>
<li><a href="http://stackoverflow.com/questions/4325630/ways-to-speedup-visual-studio-2010">Ways to speedup Visual Studio 2010</a></li>
<li><a href="http://www.certsandprogs.com/2009/10/speeding-up-start-up-of-visual-studio.html#axzz1PJsvSzZp">Speeding up the start up of Visual Studio 2010 Beta 2</a></li>
<li><a href="http://blog.stevienova.com/2009/01/05/how-to-speed-up-visual-studio-start-up/">How to Speed Up Visual Studio Start Up</a></li>
<li><a href="http://bentsai.wordpress.com/2009/06/12/tip-kill-tsvncache-exe-to-speed-up-visual-studio-startup-times/">Tip: Kill TSVNCache.exe to speed up Visual Studio startup times</a></li>
<li><a href="http://www.galador.net/codeblog/post/2008/09/10/Speed-up-Visual-Studio-startup.aspx">Speed up Visual Studio startup</a></li>
</ol>
<h1>Notes</h1>
<ul>
<li>Some of those links have tips for Visual Studio 2008 but still work on Visual Studio 2010</li>
<li>Some of those links have tip to disable Resharper for myself I will never do this, I love Resharper and I cannot take the risk to disable it to speed up my Visual Studio 2010.</li>
<li>In link no. 2 it is says for Beta 2 but work with RTM and SP1, and please look at the comment I left there.</li>
</ul>
<a class="btn" href="http://www.emadmokhtar.com/speedup-visual-studio-2010.html#speedup-visual-studio-2010">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/free-net-decompilers.html#free-net-decompilers">Free .NET Decompilers</a></h2>
<p>
Posted on Tue 14 June 2011 in <a href="http://www.emadmokhtar.com/category/tools.html">Tools</a>
• <a href="http://www.emadmokhtar.com/free-net-decompilers.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p>After <a href="http://www.red-gate.com/">Redgate</a> <a href="http://reflector.red-gate.com/download.aspx?TreatAsUpdate=1">announced the .NET Reflector is became a paid-for product</a>, some companies took advantage of this announcement and start to build a free decompilers for developers, and developers start looking for alternatives for .NET Reflector they love it as a free product and few of them will pay for it (including me :)), so I <a href="http://www.google.com/">google</a>/<a href="http://www.bing.com/">bing</a>/<a href="http://www.kngine.com">kngine</a> around to gather the best free .NET decompilers; here is the list:</p>
<ul>
<li>
<p><a href="http://www.jetbrains.com/decompiler/">JetBrain dotPeek</a>: is a new free-of-charge .NET decompile from JetBrains, the makers of <a href="http://www.jetbrains.com/resharper?dotpeek">ReSharper</a> and more developer productivity tools.</p>
<p><img alt="dotPeek" src="http://www.emadmokhtar.com/images/dotPeek.png"></p>
</li>
<li>
<p><a href="http://wiki.sharpdevelop.net/ILSpy.ashx">ILSpy</a>: ILSpy is the open-source .NET assembly browser and decompiler.</p>
<p><img alt="ILSpy" src="http://www.emadmokhtar.com/images/ILSpy-yield-return_3.png"></p>
</li>
<li>
<p><a href="http://www.telerik.com/products/decompiling.aspx">Telerik JustDecompile</a>: is a new, free developer productivity tool designed to enable easy .NET assembly browsing and decompiling.</p>
<p><img alt="Telerik JustDecompile" src="http://www.emadmokhtar.com/images/justd.png"></p>
</li>
</ul>
<a class="btn" href="http://www.emadmokhtar.com/free-net-decompilers.html#free-net-decompilers">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/enforce-join-option-in-crystal-reports.html#enforce-join-option-in-crystal-reports">Enforce Join option in Crystal Reports</a></h2>
<p>
Posted on Wed 08 June 2011 in <a href="http://www.emadmokhtar.com/category/aspnet.html">ASP.NET</a>
• <a href="http://www.emadmokhtar.com/enforce-join-option-in-crystal-reports.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p><img alt="Link option" src="http://www.emadmokhtar.com/images/10_1.png"></p>
<p>SAP Crystal Reports enables you to enforce the use of tables while you're specifying joins:</p>
<h1>Not Enforced</h1>
<p>When you select this option, the link you've created is used only if it's explicitly required by the Select statement. This is the default option. Your users can create reports based on the selected tables without restriction (that is, without enforcement based on other tables).</p>
<h1>Enforced From</h1>
<p>When you select this option, if the "to" table for the link is used, the link is enforced. For example, if you create a link from Table A to Table B using Enforce From and select only a field from Table B, the Select statement will still include the join to Table A because it is enforced. Conversely, selecting only from Table A with the same join condition will not cause the join to Table B to be enforced.</p>
<p>Example: Employee.Store_id –> Store.id, CP will enforce the join if the report has at least one of Store’s fields.</p>
<h1>Enforced To</h1>
<p>When you select this option, if the "from" table for the link is used, the link is enforced. For example, if you create a link from Table A to Table B using Enforce To …</p>
<a class="btn" href="http://www.emadmokhtar.com/enforce-join-option-in-crystal-reports.html#enforce-join-option-in-crystal-reports">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/enable-asp-net-32-bit-application-on-64-bit-environment.html#enable-asp-net-32-bit-application-on-64-bit-environment">Enable ASP.NET 32-bit application on 64-bit environment</a></h2>
<p>
Posted on Fri 11 March 2011 in <a href="http://www.emadmokhtar.com/category/aspnet.html">ASP.NET</a>
• <a href="http://www.emadmokhtar.com/enable-asp-net-32-bit-application-on-64-bit-environment.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p>If you’re deploying 32-bit ASP.NET application on 64-bit environment,
you can enable 32-bit in IIS, you have 2 ways to do it by:</p>
<ol>
<li>Set Application Pool Defaults.</li>
<li>Change specific Application Pool Advanced Settings.</li>
</ol>
<p><img alt="IIS Manager" src="http://www.emadmokhtar.com/images/32bitasp_1.jpg"></p>
<p>Here is the setting you need to change either in number 1 or 2:</p>
<p><img alt="Application Pool settings" src="http://www.emadmokhtar.com/images/32bitasp1.jpg"></p>
<a class="btn" href="http://www.emadmokhtar.com/enable-asp-net-32-bit-application-on-64-bit-environment.html#enable-asp-net-32-bit-application-on-64-bit-environment">Continue reading</a>
</div>
</article>
<div class="pagination">
<a class="btn" href="http://www.emadmokhtar.com/index7.html">
<i class="fa fa-angle-left"></i> Older Posts
</a>
<a class="btn float-right" href="http://www.emadmokhtar.com/index5.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>