* Apache 사용하는 경우

아파치 설정 파일 httpd.conf에서 VirtualHost 영역에 다음을 추가함.

AddType application/manifest .manifest
AddType application/xaml+xml .xaml
AddType application/x-ms-application .application
AddType application/x-ms-xbap .xbap
AddType application/octet-stream .deploy


* IIS 사용하는 경우

Adjust the Content Expiration Setting

You should adjust the content expiration setting to 1 minute. The following procedure outlines how to do this with IIS.

  1. Click the Start menu, point to Administrative Tools, and click Internet Information Services (IIS) Manager. You can also launch this application from the command line with "%SystemRoot%\system32\inetsrv\iis.msc".

  2. Expand the IIS tree until you find the Default Web site node.

  3. Right-click Default Web site and select Properties from the context menu.

  4. Select the HTTP Headers tab and click "Enable Content Expiration".

  5. Set the content to expire after 1 minute.

Register MIME Types and File Extensions

You must register several MIME types and file extensions so that the browser on the client's system can load the correct handler. You need to add the following types:

Extension MIME Type

.manifest

application/manifest

.xaml

application/xaml+xml

.application

application/x-ms-application

.xbap

application/x-ms-xbap

.deploy

application/octet-stream

.xps

application/vnd.ms-xpsdocument

크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기
2007/06/20 15:59 2007/06/20 15:59
Posted by 나는산.
TAGS ,

Leave your greetings here.

[로그인][오픈아이디란?]
XBAP 개발시 디버깅이나 테스트시 새로운 빌드가 열리지 않고 이전 빌드가 열리는 경우가 많다..

이럴때 .NET SDK가 설치가 되어 있다면.. 명령창에서

mage -cc

를 치면 된다.

혹시 .NET SDK가 설치 되어 있지 않으면...

rundll32 %windir%\system32\dfshim.dll CleanOnlineAppCache

치면 해결


크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)
2007/03/14 10:07 2007/03/14 10:07
Posted by 나는산.

Leave your greetings here.

[로그인][오픈아이디란?]
출처: http://scorbs.com/2007/01/10/xbap-trust-levels/

마이크로소프트 WPF 팀장이 XBAP 응용프로그램 개발시, 보안 관련 글이다.

참고사항...
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)
2007/01/11 12:45 2007/01/11 12:45
Posted by 나는산.
TAGS

Leave your greetings here.

[로그인][오픈아이디란?]
사용자 삽입 이미지
사용자 삽입 이미지


Grid에서 GridSplitter 이용해서 페이지 나누기...
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)
2006/12/14 11:21 2006/12/14 11:21
Posted by 나는산.
TAGS ,

Leave your greetings here.

[로그인][오픈아이디란?]

사용자 삽입 이미지

XBAP에서 쓰레드와 소켓 통신이 제대로 될까 고민이 되서 간단하게 테스트를 했다. 생각보다 잘된다.

크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)
2006/12/13 14:29 2006/12/13 14:29
Posted by 나는산.
TAGS

Leave your greetings here.

[로그인][오픈아이디란?]

보통 Windows Forms에서 UI 관련 쓰레드는 Invoke, BeginInvoke를 사용했다.

WPF에서도 마찬가지이지만 각 윈도우나 컨트롤의 Dispatcher 속에서 이용하면 된다.

방식은..


한번 BeginInvoke를 사용해서 재귀적으로 호출하면 된다.

using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Threading;
using System.Threading;

namespace SDKSamples
{
   public partial class Window1 : Window
   {
       public delegate void NextPrimeDelegate();
      
       //Current number to check
       private long num = 3;  

       private bool continueCalculating = false;

       public Window1() : base()
       {
           InitializeComponent();
       }

       public void StartOrStop(object sender, EventArgs e)
       {
           if (continueCalculating)
           {
               continueCalculating = false;
               startStopButton.Content = "Resume";
           }
           else
           {
               continueCalculating = true;
               startStopButton.Content = "Stop";
               startStopButton.Dispatcher.BeginInvoke(
                   DispatcherPriority.Normal,
                   new NextPrimeDelegate(CheckNextNumber));
           }
       }

       public void CheckNextNumber()
       {
           // Reset flag.
           NotAPrime = false;

           for (long i = 3; i <= Math.Sqrt(num); i++)
           {
               if (num % i == 0)
               {
                   // Set not a prime flag to ture.
                   NotAPrime = true;
                   break;
               }
           }

           // If a prime number.
           if (!NotAPrime)
           {
               bigPrime.Text = num.ToString();
           }

           num += 2;
           if (continueCalculating)
           {
               startStopButton.Dispatcher.BeginInvoke(
                   System.Windows.Threading.DispatcherPriority.SystemIdle,
                   new NextPrimeDelegate(this.CheckNextNumber));
           }
       }
      
       private bool NotAPrime = false;
   }
}

크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)
2006/12/13 12:58 2006/12/13 12:58
Posted by 나는산.
TAGS ,

Leave your greetings here.

[로그인][오픈아이디란?]
링크 : http://blogs.msdn.com/karstenj/archive/ ··· 061.aspx



파일을 모두 고치고 나면 인터넷 옵션에서 인증서를 등록하면 된다고 한다.

뭐가 이리도 어려운건지....
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)
2006/12/11 11:57 2006/12/11 11:57
Posted by 나는산.
TAGS

Leave your greetings here.

[로그인][오픈아이디란?]