11 Temmuz 2014 Cuma

IIS subpath'te ayrı bir uygulama çalıştırmak

Merhaba,

 

IIS 7 ve üzerinde host edilen uygulamalarımızda, aynı domain ve subpath’lerinde farklı uygulamalar çalıştırmamız gereken durumlar olacaktır.

 

Örneğin;

xyz.fabrikam.com isimli dns’ten yayın yapan bir web application var. Klasik bir asp.net uygulaması. Forms authentication ile çalışıyor.

xyz.fabrikam.com\ozelservis isimli bir adresten web servis ile farklı uygulamalara data yayınlamak istiyoruz.

 

Mevcut durum:

 

İstenilen:

1)      Sağ click, add application

 

2)      Alias tanımlama ve web servis path’i gösterme

 

3)      Sonuç

Çalışma ortamını hazırladık.

Devamında yaşanan en büyük sorun, child uygulamanın, master uygulamanın web.config dosyasından etkilenmesi (en sık yaşanan örnek, site forms authenticationlı, web servis’e erişimde sıkıntı yaşanır).

Bunu yönetmek için en yaygın çözüm yöntemi inheritInChildApplications kullanımı.

Tag’in kullanımı ile ilgiye aşağıdaki linkten bakabilirsiniz.

http://msdn.microsoft.com/tr-tr/library/system.configuration.sectioninformation.inheritinchildapplications(v=vs.110).aspx

 

İyi çalışmalar

9 Temmuz 2014 Çarşamba

The report parameter is read-only and cannot be modified. (rsReadOnlyReportParameter)

The report parameter 'Parametre İsmi' is read-only and cannot be modified. (rsReadOnlyReportParameter)
1)) Rapor get latest alınır.
2)) Proje içinden rapor paremetresi Visible ve Prompt dolu hale getirilmelidir.

       3)) Hangi sunucuya devreye alım yapılacak ise,  sunucudan o rapor silinir ( yetki yoksa sildirilir.)

      4))  proje içinden rapor "deploy" yapılır.

1 Temmuz 2014 Salı

Telerik 2014.2.618.35 2014 Q2 Walkthrough

Telerik 2014.2.618.35 2014 Q2 Walkthrough

1- Fix Html Bugs
a) no "not opened tag", no "not closed tag" etc.,
b) same width for the same <td> in different <tr>
c) no duplicate UniqueName   between  <columns></columns> tags
d) GridColumns'  DataFields must exist in the data source  ( is DataField is set to ="XXX" , the datasource must have "XXX" field before the binding)

2- GridBoundColumn Property Tag Rename : Visible to Display
<telerik:GridBoundColumn DataField="BookingId" UniqueName="BookingId" Visible="false"   Display="false">
(Visible="false" columns are no more in the view state)

3- <GridBoundColumn… Display=false >
a) Number of these columns must fewer than other columns number.
b) These columns must be stated at bottom of <columns></columns> block

4- Web Config Settings

Add / Change

<appSettings>
    <add key="Telerik.Grid.Skin" value="2011"/>
    <add key="Telerik.Grid.EnableEmbeddedSkins" value="false"/>
    <add key="Telerik.GridFilterMenu.Skin" value="2011"/>
    <add key="Telerik.GridFilterMenu.EnableEmbeddedSkins" value="false"/>
    <add key="Telerik.Dock.Skin" value="Yna"/>
..
..
..

<controls>
        <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI, Version=2014.2.618.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/>
      </controls>
5- if the GridExpandColumn does  not rendered properly

protected void BookingListesiGridView_ColumnCreated(object sender, GridColumnCreatedEventArgs e)
        {
            if (e.Column.ColumnType == "GridExpandColumn")
            {
                e.Column.HeaderStyle.Width = Unit.Pixel(35);
            }
        }

6- RadUpload ContentLenght property is long now. You may need to remove, change or add  the "conversion" code.

7 -Test your pages for different ie versions especially for Document mode 7 (f12 developer tools)