Регистрация     
Найдено постов: 291
Microsoft завершила разработку Windows Phone 7
Осовитный Вадим опубликовал 9 часа(ов), 28 минут(ы) назад в блог 'TechNews'



Корпорация Microsoft объявила о завершении разработки мобильной операционной системы Windows Phone 7. ОС достигла стадии "готова к производству", ее код больше меняться не будет.

Разработчики заявили, что Windows Phone 7 прошла больше проверок, чем какая-либо из мобильных платформ Microsoft. Так, ежедневно Windows Phone 7 в автоматическом режиме тестировалась на 10 тысячах устройств. Всего на автоматические проверки ушло полмиллиона часов, а на стресс-тесты - три с половиной миллиона.

Кроме того, ОС проверили тысячи независимых разработчиков ПО. Новую платформу поддерживает целый ряд производителей смартфонов, в том числе HTC, LG и Samsung.

Ведущие блога Windows Phone Blog также сообщили, что включили в новую систему более тесную интеграцию с крупнейшей социальной сетью Facebook. ОС будет поддерживать кнопку Like ("Нравится"), а пользователи смогут фильтровать список контактов в соответствии со списком друзей в Facebook.

В конце августа СМИ писали, что запуск Windows Phone 7 обойдется Microsoft в миллиард долларов, причем половина этой суммы придется на маркетинговые расходы. Ожидается, что первые смартфоны под управлением Windows Phone 7 появятся до конца года.




Просмотров: 4 |  Комментариев: 0 | 
 | Голосов: 0 | 
Осовитный Вадим опубликовал 9 часа(ов), 32 минут(ы) назад в блог 'EvilShrek's zone'



Я очень люблю женский голос, особенно тогда, когда женщина флиртует, заигрывает, хочет мужчину.... это непередаваемое внутреннее ощушение. Девушки, не бойтесь флиртовать. Те у кого получается хорошо флиртовать получают быстрее мужчину ну или его внимание, чем те, кто этого стесняется. Флирт заложен в вас с самого рождения... просто нужно научиться этим правильно пользоваться.




Тэги: men and women
Просмотров: 3 |  Комментариев: 0 | 
 | Голосов: 0 | 
Work with the SharePoint 2010 Ribbon User Interface
Осовитный Вадим опубликовал 9 часа(ов), 37 минут(ы) назад в блог 'SharePoint: step by step'


<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction
  Id="DemoHelloWorldButton"
  RegistrationType="List"
  RegistrationId="101"
  Location="CommandUI.Ribbon">
    <CommandUIExtension>
      <CommandUIDefinitions>
        <CommandUIDefinition
         Location="Ribbon.Documents.New.Controls._children">
          <Button
           Idчитать далее...



Просмотров: 4 |  Комментариев: 0 | 
 | Голосов: 0 | 
Осовитный Вадим опубликовал 9 часа(ов), 38 минут(ы) назад в блог 'EvilShrek's zone'

В Москве снова дождь... ну что такое?




Просмотров: 3 |  Комментариев: 0 | 
 | Голосов: 0 | 
Вот честно, не люблю я такие ошибки...
Осовитный Вадим опубликовал 26.08.2010, 17:05 в блог 'SharePoint: step by step'




Просмотров: 23 |  Комментариев: 0 | 
 | Голосов: 0 | 
Калькулятор калорий ежедневный
Осовитный Вадим опубликовал 25.08.2010, 13:05 в блог 'EvilShrek's zone'


Тэги: health
Просмотров: 16 |  Комментариев: 0 | 
 | Голосов: 0 | 
Six ways to store settings in SharePoint
Осовитный Вадим опубликовал 23.08.2010, 18:31 в блог 'SharePoint: step by step'

When developing applications or custom solutions for SharePoint you will on several occasions have to store settings for you application of some kind. When developing database driven or other custom solutions you easily create a database table or make the settings in app/web.config file. You can of course use these approaches when developing for SharePoint, but there are some things to consider when doing this. This post will outline some approaches you can use to store your settings.

What I mean with application or solution settings is some kind of settings that you need for you application to work, such as a Url to a web service or a username and password. These settings are normally only editable by administrators, which requires you to have some security plans, and you need an interface to edit the settings.

Worth to have in mind is that SharePoint can span multiple servers and web applications, it also has the Site Collection and Site scopes which might need different settings if your application runs on several places.

 

Using a SharePoint List

Creating a database table for storing settings is not the best way in a SharePoint solution - you would use a SharePoint list for this instead. This is the easiest way. Creating a custom list with Title and a Value allows you to store all your settings in one place. There is no need to create a user interface, since you use out-of-the-box functionality and you can secure the list by using permissions on it. The drawback is you need some information (read other setting) that tells you where this list is located, so you're back on square one.

Using web.config

Using web.config is another way to store your settings. It's easy to store information in the appSettings element using a key/value combo. The .NET Framework have built-in functionality to read these settings and SharePoint has some (not so good working) features to deploy the settings in your farm with the SPWebConfigModification class. This approach can only be applied if your settings are web-application wide and you either deploy the settings with the SharePoint object model, which can be quite cumbersome, or manually edit the web.config file on all WFE's.



Просмотров: 22 |  Комментариев: 0 | 
 | Голосов: 0 | 
Configuring My Site in SharePoint 2010
Осовитный Вадим опубликовал 23.08.2010, 13:46 в блог 'SharePoint: step by step'

Create the My Site Web Application

We begin by first creating a Web Application that will eventually house our My Site Host and subsequent site collections.

Navigate to Central Administration / Application Management / Web Applications

Click New

image thumb Configuring My Site in SharePoint 2010

Authentication: Select either Claims or Classic depending on your requirements.  I will select “Classic”

IIS Web Site: Create a new IIS web site (enter your details as per your requirements)

image thumb1 Configuring My Site in SharePoint 2010

Authentication Provider: Select your preferred provider based on your requirements.

Public URL: Specify the URL that users will type to access their My Sites.

image thumb2 Configuring My Site in SharePoint 2010

Application Pool: Create a new application pool and give it a descriptive name

As we have been utilizing the least privilege model whilst configuring our SharePoint farm in this series, we will click on Register a new managed account and enter the details for our My Site Application Pool Identity.  Note: This account will be required to be provisioned in Active Directory before you can proceed. e.g. In my example I have created an account called DOMAIN\sp_mysite.

image thumb3 Configuring My Site in SharePoint 2010

Click OK

читать далее...



Просмотров: 8 |  Комментариев: 0 | 
 | Голосов: 0 | 
Quick Tip: Using the SharePoint ‘Person or Group’ field in code
Осовитный Вадим опубликовал 17.08.2010, 17:12 в блог 'SharePoint: step by step'

One of the coolest types of site column (or field) in SharePoint is the ‘Person or Group’ field type. This allows you to select people from the GAL using a nice little picker control. When users are selected, you benefit from all of the presence capabilities of SharePoint as shown in this screen shot:

I recently had to programmatically add users to one of these ‘person or group’ fields where I only had the Login Name (domain\user) of the user I was adding as an input. It took me a while to work out how to populate a ‘Person or Group’ field from code so I thought I’d share my findings. It is worth noting that my esteemed co-workers Nigel Bridport and Pete Mellish both helped with figuring out the right format for this.

In order to populate these fields, you need a very specific combination of the User ID (see below for how to get this), their full Login Name (domain\user) and some magic characters (;#). The actual formula is as follows

<UserID>;#<UserLoginName>

for example

10;#europe\mkearn

In actual fact, I found that if you are only entering one person, you only need the User ID, but I think it is best to add the alias if you can. If you wish to add multiple people it is the same formula but the different people are separated by ;# as shown below

<UserID1>;#<UserLoginName1>;#<UserID2>;#<UserLoginName2>;#<UserID3>;#<UserLoginName3>

for example

10;#europe\mkearn;#3;#europe\ashleyy;#12europe\johnc

Word of warning ….If you wish to add your ‘Multiple Person or Group’ field via a Feature or Site Definition, there are some key things you need to know about Multiple User fields. See George Bonney’s great article which give you all of the details on how to do this.

So now we have the right formula, how do we actually use it?

The UserID relates to the ID of the user within the site collection. This is fine but the chances are that not all users are members of the site collection. To address this, the SharePoint OM has a handy little method called SPWeb.EnsureUser() which accepts a Login Name of a user as a string and first checks if the user exists in the site collection, if it does not then it adds the user and returns an читать далее...



Просмотров: 41 |  Комментариев: 0 | 
 | Голосов: 0 | 
Внимание! Чрезвычайная ситуация!
Осовитный Вадим опубликовал 17.08.2010, 16:22 в блог 'EvilShrek's zone'
Сижу, работаю, вдруг слышу: "Внимание! Чрезвычайная ситуация! Просьба всем покинуть помешение.... использовать лифты нельзя...". Итак повторяет то на русском, то на английском... и главное не останавливается. Нифига себе думаю, у нас 15 этажное здание, народу больше 3000 человек работает в здании... собираюсь, гляжу паники нету, пожара вроде тоже... в итоге спутились вниз, стоим внизу, думаем что делать, то ли домой, то ли ждать, один плюс - познакомился с красивыми девчонками из tax department, поообщались...

Не знаю что это было, то ли пожар, то ли просто учебная тревога, но работать уже не хотелось. Помню, что учебных тревог было штук 5-6 за 1,5 года учебы в Англии


Тэги: job
Просмотров: 8 |  Комментариев: 0 | 
 | Голосов: 0 | 
Read Data From an Excel File (.xls)
Осовитный Вадим опубликовал 17.08.2010, 14:56 в блог 'TechCorner'

openFileDialog1.ShowDialog();

string connString = string.Format("Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0};Extended Properties=Excel 12.0", openFileDialog1.FileName);

OleDbConnection oledbConn = new OleDbConnection(connString);

try
{
   oledbConn.Open();
   OleDbCommand cmd = new OleDbCommand(



Просмотров: 27 |  Комментариев: 0 | 
 | Голосов: 0 | 
Осовитный Вадим опубликовал 17.08.2010, 14:54 в блог 'EvilShrek's zone'

Сегодня в Москве хорошо... дождик!




Просмотров: 7 |  Комментариев: 0 | 
 | Голосов: 0 | 
Афганская девочка...
Осовитный Вадим опубликовал 17.08.2010, 14:52 в блог 'EvilShrek's zone'

...которая ремонтирует выбоины в дороге между Кабулом и Баграмом. Живёт на подаяние автомобилистов, проезжающих мимо.

© AP Photo/Dusan Vranic
Расскажите ей, как вам плохо живётся.
 




Просмотров: 11 |  Комментариев: 0 | 
 | Голосов: 0 | 
Using Property Bag of SPWeb to store Metadata
Осовитный Вадим опубликовал 12.08.2010, 16:28 в блог 'SharePoint: step by step'

On an SPWeb there is no out-of-the-box solution to store custom metadata, you only have the name (URL), the title and the description. If you need more (e.g. status (active/inactive) or location) you have to implement a custom solution.

A possible way is to create a list (with the fields you need) that has only one list entry: the metadata of the parent SPWeb. With versioning enabled you also versioned metadata for your SPWeb. But if you have many sites of this type this may be some overkill to have an extra list for the metadata in each site. Another solution is to use the property bag of the SPWeb and store the additional metadata directly in the SPWeb. This needs some coding of course and you have to integrate it into your sites. But the code is very simple:

Writing values:

string strKey = "MyKey";
string strValue = "MyValue";

if  (webCurrent.Properties.ContainsKey(strKey)) // property exists already -> update it 
      webCurrent.Properties[strKey] = strValue;
else 
      webCurrent.Properties.Add(strKey, strValue);

webCurrent.Properties.Update();

Reading values:

string strKey = "MyKey";
string strValue = string.Empty;


if  (webCurrent.Properties.ContainsKey(strKey))
    strValue = webCurrent.Properties[strKey];


If you want to save some metadata about the lists in the current SPWeb you can also use the property bag of your SPWeb. Just add the Guid of the list to each name of the property:

string strKey = "MyKey_" + listCurrent.ID.ToString();

To remove a property use the following lines:

// attention: SPWeb.Properties.Remove(string pKey) doesn't work to remove
// a property. To remove a property clear the content.

webCurrent.Properties[strKey] = null;
webCurrent.Properties.Update();
webCurrent.Update();




Просмотров: 166 |  Комментариев: 0 | 
 | Голосов: 0 | 
SharePoint 2010: Programmatically start workflow
Осовитный Вадим опубликовал 12.08.2010, 16:14 в блог 'SharePoint: step by step'

One of the cool new features of  SharePoint 2010 is Site Workflows. As you probably know, in SharePoint 2007 a workflow can only be associated with a list or a document library. While this functionality is useful, sometimes a “site wide” workflow is called for. This leads to us developers getting creative and producing  approaches such as creating a list called “Site Workflows” and creating items in it that have “start on create” workflows attached to them. In SharePoint 2010 Site Workflows provide an elegant solution for this common scenario
 
using (SPSite site = new SPSite("http://moss2010beta")) //get the site
{

   
using (SPWeb web = site.OpenWeb()) // get the web
    {
      
//find workflow to start
       var assoc = web.WorkflowAssociations.GetAssociationByName("Demo Site Workflow", CultureInfo.InvariantCulture);

      
//this is the call to start the workflow
       var result = site.WorkflowManager.StartWorkflow(null, assoc, string.Empty, SPWorkflowRunOptions.Synchronous);
     }

}

As you probably have noticed, the API call to start a site workflow is not much different form the call to start a list workflow. A new overload...



Просмотров: 129 |  Комментариев: 0 | 
 | Голосов: 0 | 
SPWeb.Groups vs SPWeb.SiteGroups
Осовитный Вадим опубликовал 12.08.2010, 11:06 в блог 'SharePoint: step by step'

SPWeb has two sharepoint cross-site group collection, SPWeb.Groups and SPWeb.SiteGroups. SPWeb.Groups returns collection of cross-site groups which has some permission on the site. So if you add group from a site without any permission on the site, then this group wont appear in SPWeb.Groups collection, but it will appear in SPWeb.SiteGroups collection. You can not use SPWeb.Groups.Add method to add new cross-site group, you need to use SPWeb.SiteGroup.Add method for this purpose.




Просмотров: 101 |  Комментариев: 0 | 
 | Голосов: 0 | 
Can't Debug SharePoint Workflow
Осовитный Вадим опубликовал 11.08.2010, 12:41 в блог 'SharePoint: step by step'

Eventually I found this post here, which suggested checking the "Policy for Web Application" section under Sharepoint Central Administration -> Application Management. Make sure your App Pool account for your SharePoint site (in my case "Network Service") has Full Control as opposed to just "Full Read". Restart IIS and try debugging your application again! This should get rid of at least any trouble you have hitting your breakpoints in Visual Studio.




Просмотров: 177 |  Комментариев: 0 | 
 | Голосов: 0 | 
Sharepoint 2010: Client Object Model for Javascript
Осовитный Вадим опубликовал 09.08.2010, 14:35 в блог 'SharePoint: step by step'
This post is about Javascript version of the OM. Javasctipt API is stored in SP.js (or SP.debug.js if you want to analyze the source) located in
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS folder.
 
In my example I create an application page hosted on a Sharepoint 2010 site which uses Client OM API calls to get data from the server. Here is a sequence of steps:
 
1. In VS2010 create an a Sharepoint Application page. In my case I created a blank Sharepoint project and named it GeneralTest. Then I added a ClientOMTest.aspx application page to the project.
 
2. Add the following code inside PlaceHolderAdditionalPageHead content tag (it can be any other content tag as well).
 
<SharePoint:ScriptLink Name="SP.js" runat="server" OnDemand="true"


Просмотров: 87 |  Комментариев: 0 | 
 | Голосов: 0 | 
SharePoint JavaScript library
Осовитный Вадим опубликовал 09.08.2010, 11:35 в блог 'SharePoint: step by step'

Важная ссылка, например там есть описание SP Namespace http://msdn.microsoft.com/en-us/library/ee538253.aspx 




Просмотров: 51 |  Комментариев: 0 | 
 | Голосов: 0 | 
Moscow. Protect yourself from wildfire smoke
Осовитный Вадим опубликовал 06.08.2010, 12:32 в блог 'EvilShrek's zone'


Сегодня в Москве невероятно много смога, даже утренний дождь не помог. Видимость метров 100 наверно... да еще +40. Я из офиса не вижу соседний вокзал, а он находится в 200 метрах. Только на рабочем месте можно себя чувствовать человеком.. хоть ночуй тут. Люди на работе только и говорят о том как тушить, как работают пожарники, куда поехать на выходные, чтобы не дышать данным воздухом...

Из сегодняшней рассылки:
• Stay indoors as much as possible with windows closed
• If using air conditioning, make sure the air intake is turned off (or set to recycled air) and clean any filters in the unit every two days
• Reduce activity – more smoke and pollutants are inhaled during physical activity
• Reduce other sources of indoor pollutants – smoking, using aerosols, vacuuming, frying or baking should all be limite
• Use air cleaners if available, not air purifiers – air purifiers tend to generate ozone to purify the air, which can cause even worse respiratory problems than the smog; ionizers are the air cleaning systems recommended by health authorities
• Use a humidifier to help keep down pollutants that can be breathed in
• Wear a mask (if available) when outside

UPDATE: в Москве сегодня примерно вот так: http://drugoi.livejournal.com/3320659.html 




Тэги: Moscow, smog
Просмотров: 139 |  Комментариев: 0 | 
 | Голосов: 0 | 
Найдено постов: 291 Показывать по 1 2 3 4 5 ...