<configuration>
...
<location path="Content">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
...
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
.....
</configuration> C#, .NET, .Net Core
ASP.NET MVC, ASP.NET Web Forms, ASP.NET Core
HTML 5, CSS 3, Javascript, jQuery, Bootstrap
Entity Framework, NHibernate, Dapper
Sql Server, MySql, Oracle
Windows Server, Ubuntu, Debian, Pardus
Xamarin Forms, Android Studio
--- The future of the open web platform is looking very bright!
--- .NET is a free, cross-platform, open source developer platform for building any app.
Google Analytics İzleme
20 Ekim 2011
asp.net mvc 3 - /Content/Site.css dosyasının görüntülenememe problemi
14 Ekim 2011
You do not have sufficient privileges to delete {OU Name} hatası
Ou silerken aşağıdakine benzer bir uyarı alıyorsanız aşağıdakileri işlemleri uygularak sonuca ulaşabilirsiniz.
Error
“You do not have sufficient privileges to delete {OU Name}, or this object is protected from accidental deletion”
1- Administrator hesabi ile oturum açınız
2- Start > Run > dsa.msc ( Enter )
3. View > Advanced Features
4. Right Click the OU > Properties > Object Tab.
5. Un-tick “Protect this object from accidental deletion”.
işlemlerini uyguladıktan sonra organizal unitleri silebilirsiniz.
11 Ekim 2011
jquery dokümanları
Kaynaklar:
http://ersingenel.com/blog/3/8-mukemmel-jquery-ipucu.htm
Asp.Net Jquery Time Ago
Uzun süre çalışan işlemleri asp.net ile kodlamak
09 Ekim 2011
text, ntext ve image desteği kalkıyormuş, ilginç
07 Ekim 2011
microsoft outlook başlatılamıyor. outlook penceresi açılamıyor hatası
Bu sorunu gidermek için aşağıdaki adımları kullanın.
- Başlat menüsünde Çalıştır'ı tıklatın.
- Çalıştır iletişim kutusuna aşağıdaki komutu yazın:
Outlook.exe /resetnavpane
Not: "Outlook.exe" ile "/resetnavpane"
arasında bir boşluk vardır - Tamam'ı tıklatın.
04 Ekim 2011
03 Ekim 2011
ASP.Net ile PowerShell Scripti Çalıştırma
Makinenizde kurulu powershell sürümünü öğrenme:
http://stackoverflow.com/questions/1825585/determine-what-version-of-powershell-is-installed
Adım adım örnek:
Using PowerShell 2.0 from ASP.NET Part 1
http://stackoverflow.com/questions/1169891/how-do-i-get-the-localhost-name-in-powershell
Running Remote Powershell scripts from VB.NET
Exchange sunucuya bağlanıp, powershell scripti çalıştırma:
HOW TO: Migrating Exchange 2007 PowerShell Managed code to work with Exchange 2010
Calling Exchange Management Shell Cmdlets from Managed Code
http://msdn.microsoft.com/en-us/library/ff326159(v=exchg.140).aspx
How to Execute Remote PowerShell Commands using C#
Live@Edu Exchange sunucuya powershell ile bağlanma ve şifre resetleme:
Connect Windows PowerShell to the Service
http://help.outlook.com/en-us/140/cc952755.aspx
Reset a Live@edu User's Password with Windows PowerShell
http://help.outlook.com/en-us/140/dd253225.aspx
Windows Server 2008 R2'de .net ile yazılan powershell çalıştırma esnasında oluşan hata:
... cannot be loaded because the execution of scripts is disabled on this system ... hatası verdiyse;
Bu hata için Set-ExecutionPolicy Unrestricted komutu önce çalıştırılmalıdır.
Kaynak:
http://www.anilerduran.com/index.php/2008/file-cannot-be-loaded-because-the-execution-of-scripts-is-disabled-on-this-system-error-in-powershell/
http://www.sertac.gen.tr/exchange-management-console-ailmiyor/
http://technet.microsoft.com/en-us/library/ee176949.aspx
Dikkat:
Visual Studio'da C# managed .net kod ile Poweshell işlemleri yapabilmek için gerekli olan System.Management.Automation.dll dosyasını Windows 7 64 bitlik makinede
C:\Program Files (x86)\Reference Assemblies\Microsoft\WindowsPowerShell\v1.0\System.Management.Automation.dll adresinde ki dll dosyasını projeye referans olarak eklenmelidir, derleme veya publish sonucunda bu dll'i bin klasörüne atmak için dll dosyasının özellik penceresinden Copy Local değeri True yapılmalıdır. Bu şekilde derlenmiş wcf servisi web uygulamasını Windows Server 2008 R2 Enterprise 64 bit'lik sunucudaki iis'de çalışmaktadır. Test ettim, çalışıyor.
29 Eylül 2011
Mac os x 10.6.1 - 10.6.2 Snow Leopard 'ı Windows 7 64 bit'lik host pc'de VirtualBox 4 içinde sanal makineye kurma
Mac os x ile artık tanışma vakti geldi. Windows 7 64 bitlik pc'de Virtual box içinde kuruyorum.
19.10.2011
http://osx86.co/archive/index.php/t-555.html
http://www.redmondpie.com/how-to-install-mac-os-x-snow-leopard-in-virtualbox-on-windows-7/
http://www.hackint0sh.org/
Şimdi Xcode programını kuruyorum. Torrent ile xcode3210a432.dmg dosyasını indirdim,
dmg2img programı ile xcode3210a432.dmg dosyasını xcode3210a432.img dosyasına çevirdim, çevirmek için programın olduğu klasöre komut satırında geldim ve şu komutu çalıştırdım:
C:\Users\ISHAK\Downloads\dmg2img-1.6-win32>dmg2img.exe xcode3210a432.dmg xcode3210a432.img
oluşturulan xcode3210a432.img dosyasını UltraISO programı ile sanal cd sürücüye ekledim,
mac os x masaüstünde Xcode diye cd simgesi geldi, bu simgeye tıkladım, cd içindeki Xcode.mpkg dosyasını çift tıkladım ve kurulum başladı. Şimdi Xcode kuruluyor.
Kaynaklar:
http://www.blogsdna.com/3183/convert-dmg-to-iso-with-dmg2iso.htm
http://vu1tur.eu.org/tools/
11.10.2011 sa
xcode_3.2.3_and_ios_sdk_4.0.2.dmg dosyasını virtual box cdrom'una image dosyası olarak bağladım, macos x'i açtım, masaüstüne gelen Xcode and iphone SDK cdsini çift tıkladım. Cd içeriğinden kurulum paketini çalıştırdım ve ios sdk'sını kurdum.
Xcode'u çalıştırdım ve ilk hello world denememi yaptım ve çalıştırdım.
Hadi hayırlısı :)
Kaynak:
http://www.tuaw.com/2009/04/27/iphone-dev-101-the-hello-world-app/
http://deimos3.apple.com/WebObjects/Core.woa/FeedEnclosure/utah.edu.1668842900.01668842919.1681195338/enclosure.pdf
http://forum.donanimhaber.com/m_49676124/tm.htm
http://www.cihantek.com/etiketler/iphone-programlama/
http://www.yazarbozar.com/2009/02/23/iphone-uygulamasi-yazmayyi-ogrenmeye-nereden-baslarim/
http://www.icodeblog.com/2008/07/26/iphone-programming-tutorial-hello-world/
AveaLabs'da gördüğüm başka bir kurulum makalesi:
http://www.avealabs.com/blog/virtualbox-snow-leopard-kurulumu.aspx
Virtualbox içinde Mac OS
http://calloftheyellowdarkblue.blogspot.com/2011/12/1-mac-os-x86-cdsi-indirmek-hazard.html
Windows makine üzerine Mac OS X Snow leopard kurup Xcode ile iphone ipad cihazlarına uygulama geliştirmek.
http://www.erencetin.com/post/Windows-makine-uzerine-Mac-OS-X-Snow-leopard-kurup-Xcode-ile-iphone-ipad-cihazlarc4b1na-uygulama-gelistirmek.aspx
24 Eylül 2011
23 Eylül 2011
SQL Server - Operand data type ntext is invalid for add operator. hatası hakkında
Örneğin:
The + (String Concatenation) does not work on SQL Server for the image, ntext, or text data types.
In fact, image, ntext, and text are all deprecated.
ntext, text, and image data types will be removed in a future version of MicrosoftSQL Server. Avoid using these data types in new development work, and plan to modify applications that currently use them. Use nvarchar(max), varchar(max), and varbinary(max) instead.
That said if you are using an older version of SQL Server than you want to use UPDATETEXT to perform your concatenation. Which Colin Stasiuk gives a good example of in his blog post String Concatenation on a text column (SQL 2000 vs SQL 2005+).
Kaynak:
http://msdn.microsoft.com/en-us/library/ms187993.aspx
21 Eylül 2011
Asp içinde hata yönetimi - Error Handling in ASP
<%
Dim i
' Turn on error Handling
On Error Resume Next
'Code here that you want to catch errors from
' Error Handler
If Err.Number <> 0 Then
' Error Occurred / Trap it
On Error Goto 0 ' But don't let other errors hide!
' Code to cope with the error here
End If
On Error Goto 0 ' Reset error handling.
%>Klasik ASP ile SOA Web Servisi veya WCF Servisi Çağırma - Call web service or wcf service from classic asp
<soap:Body>
<GetInfo xmlns="http://www.mobildev.net/">
</soap:Envelope></soap:Body></GetInfo><username>string</username><companycode>string</companycode><password>string</password>
http://www.devarticles.com/c/a/ASP/An-Introduction-To-XML-SOAP-Using-ASP-and-VB6/
http://www.eggheadcafe.com/community/asp/5/10350114/posting-file-via-msxml2serverxmlhttp30.aspx
Using ServerXMLHTTP Directly
http://msdn.microsoft.com/en-us/library/windows/desktop/ms766431(v=vs.85).aspx
Msxml2.ServerXMLHTTP kullanım örneği:
http://www.r10.net/asp/938530-msxml2-serverxmlhttp-isleminde-ssl-ile-post-etme.html
Consuming .NET Web Services from Classic ASP with the Microsoft SOAP Toolkit
http://www.devx.com/tips/Tip/42147
Integrating ASP.NET XML Web Services with 'Classic' ASP Applications
http://www.4guysfromrolla.com/webtech/070302-1.shtml
Using Web Service (.NET) in Classic ASP via SOAP
http://www.ashishblog.com/blog/using-web-service-net-in-classic-asp-via-soap/
Consume WebServices in classic ASP using Microsoft SOAP ToolKit.
http://www.eggheadcafe.com/tutorials/asp/648fef0b-d827-4ef9-a7b2-90c0fb15cc23/consume-webservices-in-classic-asp-using-microsoft-soap-toolkit.aspx
Microsoft SOAP Toolkit
http://www.soapuser.com/client4.html
Migrating from the Microsoft SOAP Toolkit to the .NET Framework
http://msdn.microsoft.com/en-us/library/ms995793.aspx
Calling a FedEx Rate Service from Classic ASP with SOAP call
http://vikaskanani.wordpress.com/2011/04/21/calling-a-fedex-rate-service-from-classic-asp-with-soap-call/
Using SOAP With Classic ASP / VBScript
http://www.codeproject.com/Articles/20125/Using-SOAP-With-Classic-ASP-VBScript
Call WCF Service from Classic ASP - End to End Sample
http://archive.msdn.microsoft.com/CallWCFfromASP
Classic ASP Tutorial: How to do Soap Requests
http://jadendreamer.wordpress.com/2009/09/02/classic-asp-soap-request-code-example/
Consuming a .Net SOAP Webservice from Classic ASP (VBScript)
http://www.kashflow.com/blog/consume-soap-from-vbscript/
Objects of type array explained
http://www.kashflow.com/forums/threads/integrating-api-with-classic-asp.499/
Lifecycle of a SOAP Request
http://msdn.microsoft.com/en-us/magazine/cc164007.aspx
An Introduction To XML SOAP Using ASP and VB6
http://www.devarticles.com/c/a/ASP/An-Introduction-To-XML-SOAP-Using-ASP-and-VB6/