Bulgarian Association of Software Developers (BASD) became an official member of INETA (the International .NET Association).

Now BASD is registered .NET user group for Bulgaria and will promote the .NET technology through its members by seminars, conferences, meetings and other events.
We are planning to run a new interesting event called “IT boxing” where .NET and Java technology evangelists meet to discuss which technology is better and finally box with inflatable boing gloves. The first match will be “ADO.NET+LINQ vs. JPA and Hibernate”. I will post more about the IT boxing championship.
Posted by nakov as .net, news, blog at 2:46 AM EET
Comments Off
I have a .NET 2.0 assembly that runs in the Internet Explorer Web browser as hosted control. The assembly is called ExampleControl.dll. The HTML file used to display it is the following:
Now I want to increase its priviledges to be able to connect to Microsoft SQL Server. If I just create a new code group with FullTrust permission set in .NET Framework 2.0 Configuration Runtime Security Policy for all assemblies comming from URL=”http://localhost/MyWebApp/*”, I get the following error message:
System.Security.SecurityException: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
It is strange, because my assembly actually has the SqlClientPermission (this can be seen by “Evaluate Assembly”). Eventhough the .NET control in my Web browser cannot connect to SQL Server.
To solve this problem I needed to give FullTrust to whole the Web site (URL=”http://localhost/*”), not only to my Web application (URL=”http://localhost/MyWebApp/*”).
I tried to assert the required permission by calling new SqlClientPermission().Assert(), but with no result. The only way to solve the problem I found is to to give FullTrust to whole the Web site (URL=”http://localhost/*”).
Posted by nakov as .net, blog at 2:35 AM EET
Comments Off
Bulgarian Association of Software Developers (BASD) organizes a meeting of the Bulgarian Java User Group (BGJUG) on 25 October 2007 to discuss the JavaServer Faces (JSF) technology and new trends. Speakers will be Ivan Davidov and Nikolay Dokovski.
See the official invitation here: http://www.devbg.org/seminars/seminar-JSF-25-october-2007/.
Posted by nakov as news, java at 3:48 PM EEST
Comments Off