Removal instructions for TelevisionFanatic

What is TelevisionFanatic?

The Malwarebytes research team has determined that TelevisionFanatic is a browser hijacker. These so-called “hijackers” manipulate your browser(s), for example to change your startpage or searchscopes, so that the affected browser visits their site or one of their choice. This one also displays advertisements.

https://forums.malwarebytes.org/index.php?/topic/168598-removal-instructions-for-televisionfanatic/

Removal instructions for CrushArcade

What is CrushArcade?

The Malwarebytes research team has determined that CrushArcade is a browser hijacker. These so-called “hijackers” manipulate your browser(s), for example to change your startpage or searchscopes, so that the affected browser visits their site or one of their choice. This one also displays advertisements.

https://forums.malwarebytes.org/index.php?/topic/168578-removal-instructions-for-crusharcade/

How to Open a New InPrivate window in Microsoft Edge in Windows 10

Microsoft has announced the new name for its next-generation web browser in Windows 10. Ditching the Project Spartan development codename, the browser will now be known as Microsoft Edge.

Microsoft Edge is a new web browser that will be available across the Windows 10 device family. It is fast, compatible, and built for the modern Web.

In Windows 10 Insider Preview build 10122, Microsoft Edge now has InPrivate browsing.

When you use InPrivate tabs, your browsing data (like cookies, history, or temporary files) isn’t stored on your PC after you’re done. Microsoft Edge deletes temporary data from your PC after all of your InPrivate tabs are closed.

This tutorial will show you how to open a new InPrivate browsing window in Microsoft Edge for your account in Windows 10.

Read more…

How to ‘Pin to Start’ a Website in Microsoft Edge in Windows 10

Microsoft has announced the new name for its next-generation web browser in Windows 10. Ditching the Project Spartan development codename, the browser will now be known as Microsoft Edge.

Microsoft Edge is a new web browser that will be available across the Windows 10 device family. It is fast, compatible, and built for the modern Web.

This tutorial will show you how to pin to Start a website open in Microsoft Edge for your account in Windows 10.

Read more…

Team Project creation fails with System.MissingFieldException

The Problem

You are trying to create a new Team Project in TFS and receive the following error:

Module: Engine
Event Description: TF30162: Task “TestVariable” from Group “TestManagement” failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: System.MissingFieldException: Field not found: ‘Microsoft.TeamFoundation.TestManagement.Common.WitCategoryRefName.SharedDataSet’.
   at Microsoft.TeamFoundation.TestManagement.Client.TestManagementTeamProject.get_SharedParameterDataSetWorkItemTypeName()

 

The Solution

Run the following on the TFS 2013 application tier (in command prompt as admin):

  1. ngen uninstall Microsoft.TeamFoundation.TestManagement.Client
  2. ngen uninstall Microsoft.TeamFoundation.TestManagement.Common
  3. Restart your VS, MTM or Team Explorer

 

(Special thanks to Sadagopan Rajaram from Microsoft for tracking this down.)

nuget.exe fails with Response: Invalid URI: The hostname could not be parsed.

The Problem

  • You are using a custom NuGet feed
  • when running nuget.exe you receive the following error message:

Response: Invalid URI: The hostname could not be parsed.

The Solution

Double-check the URL you are using (for example, try opening it on a browser). Typically, the URL should end with /nuget (for some servers like ProGet with /nuget/<feedname>).

Incorrect example:
http://nuget.<server>.org

Correct example:
http://nuget.<server>.org/nuget

(Solution based on: http://nuget.codeplex.com/discussions/361846/)

Spybot S & D Weekly Update – May 20, 2015

2015-05-20

Adware
+ Ad.NetCrawl + Ad.WebGet + Firseria + InstallMonetizer + Win32.InCore + Win32.PrivCnt.a
Malware
+ OneInstaller
PUPS
+ PU.FreeGames ++ PU.PCCleanerPro2015
Trojan
+ Win32.Downloader.HicrazykA
Total: 2606752 fingerprints in 817620 rules for 7456 products.

»www.safer-networking.org ··· updates/

Packt Publishing Free Learning Library

FL - 590x295

From 30th April, 2015 Packt Publishing has thrown open the
virtual doors of its new Free Learning Library and offering its customers a daily chance to grab a fresh free
eBook from its website. The Free Learning Library will be open all year-round but each title will only
be up for 24 hours, so make sure you keep checking back to get your hands on
the latest book! All you’ll have to do is simply click on the day’s free eBook and it will
instantly be added to your account.

See more information here: http://bit.ly/1EXeiCu.

Microsoft Security Bulletin Releases Issued: May 19, 2015

Summary

The following bulletins have undergone a major revision increment.

* MS15-046 – Important

Bulletin Information:

MS15-046 – Important

– Title: Vulnerabilities in Microsoft Office Could Allow Remote
Code Execution (3057181)
https://technet.microsoft.com/library/security/ms15-046
– Reason for Revision: V2.0 (May 19, 2015): Bulletin revised to
announce the release of the Microsoft Office for Mac 14.5.1 update.
The release addresses a potential issue with Microsoft Outlook for
Mac when customers install the Microsoft Office for Mac 14.5.0
update. Customers who have not already installed the 14.5.0
update should install the 14.5.1 update to be fully protected
from this vulnerability. To avoid the possibility of future issues
with Microsoft Outlook for Mac, Microsoft recommends that
customers running Office for Mac software who have already
successfully installed the 14.5.0 update also apply the 14.5.1
update even though they are already protected from this
vulnerability. Customers running other Microsoft Office software
do not need to take any action. See Microsoft Knowledge Base
Article 3048688 for more information.
– Originally posted: May 12, 2015
– Updated: May 19, 2015
– Bulletin Severity Rating: Important
– Version: 2.0

Entity Framework Multitenancy Part 2 – Conventions

In my last post, I talked about different scenarios for achieving multitenancy with Entity Framework contexts. This time, I am going to show how to use conventions, wrapping the code I provided then.

First, a base convention class to serve as our root hierarchy of multitenant conventions:

public abstract class MultitenantConvention : IConvention

{

}

Only worthy of mention is the implementation of IConvention. This is a marker interface for letting Entity Framework know that this is a convention.

Next, a convention for the separate databases approach:

public class SeparateDatabasesConvention : MultitenantConvention

{

    public SeparateDatabasesConvention(DbContext ctx)

    {

        var currentTenantId = TenantConfiguration.GetCurrentTenant();

        ctx.Database.Connection.ConnectionString = ConfigurationManager.ConnectionStrings[currentTenantId].ConnectionString;

    }

}

This convention needs a reference to the DbContext, because it needs to change the connection string dynamically, something that you can’t do through the basic convention interfaces and classes – there’s no way to get to the context.

Now, shared database, different schemas. This time, we need to implement IStoreModelConvention<T>, using EntitySet as the generic parameter, so as to gain access to the Schema property:

public class SharedDatabaseSeparateSchemaConvention : MultitenantConvention, IStoreModelConvention<EntitySet>

{

    public void Apply(EntitySet item, DbModel model)

    {

        var currentTenantId = TenantConfiguration.GetCurrentTenant();

        item.Schema = currentTenantId;

    }

}

Finally, shared database, shared schema:

public class SharedDatabaseSharedSchemaConvention : MultitenantConvention

{

    public String DiscriminatorColumnName { get; private set; }


    private void Map<T>(EntityMappingConfiguration<T> cfg) where T : class

    {

        var currentTenantId = TenantConfiguration.GetCurrentTenant();

        cfg.Requires(this.DiscriminatorColumnName).HasValue(currentTenantId);

    }


    public SharedDatabaseSharedSchemaConvention(DbModelBuilder modelBuilder, String discriminatorColumnName = "Tenant")

    {

        this.DiscriminatorColumnName = discriminatorColumnName;


        var modelConfiguration = modelBuilder.GetType().GetProperty("ModelConfiguration", BindingFlags.NonPublic | BindingFlags.Instance).GetValue(modelBuilder, null);

        var entities = modelConfiguration.GetType().GetProperty("Entities", BindingFlags.NonPublic | BindingFlags.Instance).GetValue(modelConfiguration, null) as IEnumerable<Type>;


        foreach (var entity in entities)

        {

            var entityTypeConfiguration = modelBuilder.GetType().GetMethod("Entity").MakeGenericMethod(entity).Invoke(modelBuilder, null);

            var mapMethod = entityTypeConfiguration.GetType().GetMethods().First(m => m.Name == "Map");


            var localMethod = this.GetType().GetMethod("Map", BindingFlags.Instance | BindingFlags.NonPublic).MakeGenericMethod(entity);

            var delegateType = typeof(Action<>).MakeGenericType(localMethod.GetParameters().First().ParameterType);


            var del = Delegate.CreateDelegate(delegateType, this, localMethod);


            mapMethod.Invoke(entityTypeConfiguration, new Object[] { del });

        }

    }

}

And a nice way to wrap all this using extension methods:

public static class DbModelBuilderExtensions

{

    public static DbModelBuilder UseSeparateDatabases(this DbModelBuilder modelBuilder, DbContext ctx)

    {

        modelBuilder.Conventions.Remove<MultitenantConvention>();

        modelBuilder.Conventions.Add(new SeparateDatabasesConvention(ctx));

        return modelBuilder;

    }

    public static DbModelBuilder UseSharedDatabaseSeparateSchema(this DbModelBuilder modelBuilder)

    {

        modelBuilder.Conventions.Remove<MultitenantConvention>();

        modelBuilder.Conventions.Add(new SharedDatabaseSeparateSchemaConvention());

        return modelBuilder;

    }

    public static DbModelBuilder UseSharedDatabaseSharedSchema(this DbModelBuilder modelBuilder, String discriminatorColumnName = "Tenant")

    {

        modelBuilder.Conventions.Remove<MultitenantConvention>();

        modelBuilder.Conventions.Add(new SharedDatabaseSharedSchemaConvention(modelBuilder, discriminatorColumnName));

        return modelBuilder;

    }

}

Usage: just uncomment one of the Use calls.

protected override void OnModelCreating(DbModelBuilder modelBuilder)

{

    //uncomment one of the following lines

    //modelBuilder.UseSeparateDatabases(this);

    //modelBuilder.UseSharedDatabaseSeparateSchema();

    //modelBuilder.UseSharedDatabaseSharedSchema(discriminatorColumnName: "Tenant");


    base.OnModelCreating(modelBuilder);

}

How to Change How Long to Show Notifications in Windows 10

The Action Center in Windows 10 collects and shows notifications and alerts from traditional Windows applications and system notifications, alongside those generated from modern apps. Notifications are then grouped in the Action Center by app and time. When the Action Center gets a new notification, it will briefly show a notification banner above the taskbar notification area to let you know.

This tutorial will show you how to change how long to show notifications above the taskbar notification area before closing in your account in Windows 10.

Read more…

How to Change Mailbox Sync Settings for Mail app in Windows 10

Windows 10 comes with a new Mail app. The new Mail app brings improved performance and a familiar three-pane email UI, with a toggle to quickly move between your email and calendar. Mail includes customizable Swipe Gestures, letting you swipe right or left to take actions like delete, flag, move or mark as read/unread. Also check out the new email authoring experience. Mail leverages the familiar and rich capability of Word to that allows you to easily insert tables, add pictures and use bullets and color to your text. The new Mail apps support Office 365, Exchange, Outlook.com, Gmail, IMAP, POP and other popular accounts.

You can change your mailbox sync settings for how often you want to download new email content, and how far back you want to download old email from your email server per account in the Mail app.

This tutorial will show you how to change the mailbox sync settings per account in your Mail app in Windows 10.

Read more…

Updated to Swift 1.2 and Xcode 6.3! Unleash Your Inner App Developer Part 16: Core Data Tune-Up

http://www.iphonelife.com/blog/31369/unleash-your-inner-app-developer-tuning-core-data

All the best!
Kevin McNeish
Author: iOS App Development for Non-Programmers book series
Twitter: @kjmcneish

Update for Outlook Junk E-mail Filter – May 2015

Microsoft has recently released the May updates for the Outlook 2007/2010/2013 Junk E-mail Filter.

“This update provides the Junk E-mail Filter in Microsoft Office Outlook with a more current definition of which e-mail messages should be considered junk e-mail.”

The update is available for Outlook 2007, Outlook 2010 (32-bit, 64-bit) and Outlook 2013 (32-bit, 64-bit) or you can use Microsoft Update. As usual, the updates come with the corresponding Knowledge Base article:

Entity Framework Multitenancy

Introduction

Multitenancy is currently a hot topic in web development. Azure, SharePoint, and many other frameworks are offering multitenant options, because it totally makes sense to make a better use of a server by hosting many different services.

When it comes to data, there are usually three different strategies:

  • Separate databases: each tenant is stored in its own database; different connection strings must be provided, one for each tenant;
  • Shared database, separate schemas: all tenant’s data live in the same database and even share table names, but in different schemas;
  • Shared database, shared schema tenants share the same physical tables,  but use a discriminator column for distinguishing between them.

Let’s explore how we can use each of these techniques in Entity Framework (Code First, of course – is there another?).

Prerequisites

First, we need to have a way to obtain the current tenant, specifically, a tenant id or code. To simplify, let’s just assume a simple interface:

public static class TenantConfiguration

{

    public static String GetCurrentTenantId()

    {

        //doesn't matter

    }

}

You are free to implement this in any way you want.

We’ll also have a data context:

public class MultitenantContext : DbContext

{

    public DbSet<MultitenantEntity> MultitenantEntities { get; set; }

}

Separate Databases

We need to inject the different connection strings through the constructor:

public MultitenantContext() : base(GetConnectionString())

{

}

 

private static String GetConnectionString()

{

    var currentTenant = TenantConfiguration.GetCurrentTenantId();

    return ConfigurationManager.ConnectionStrings[currentTenant].ConnectionString;

}

This is a simple strategy that relies on having one connection string per tenant id, but others exist, of course.

Shared Database, Separate Schemas

Another option is to have each tenant in its own schema. For that, we need to leverage the OnModelCreating method for configuring the model:

protected override void OnModelCreating(DbModelBuilder modelBuilder)

{

    var currentTenant = TenantConfiguration.GetCurrentTenantId();

 

    modelBuilder.Types().Configure(x =>

    {

        x.ToTable(x.ClrType.Name, currentTenant);

    });

 

    base.OnModelCreating(modelBuilder);

}

Again, a simple example: each type gets mapped to an equally-named table and to a schema that is identical to the tenant id. Pay attention to this: SQL Server and other RDBMSs allows users to have a default schema, so in theory, if you use integrated security, you may leave out the explicit schema. However, Entity Framework will always include the schema with the database objects, so you have to explicitly configure it, as we have.

Shared Database, Shared Schema

The final option depends on a discriminator column that is not mapped, but contains a different value for each tenant. Again, we need to configure the model accordingly (warning: reflection ahead):

private static void Map<T>(EntityMappingConfiguration<T> cfg) where T : class

{

    var currentTenant = TenantConfiguration.GetCurrentTenantId();

 

    cfg.Requires("Tenant").HasValue(currentTenant);

}

 

protected override void OnModelCreating(DbModelBuilder modelBuilder)

{

    var modelConfiguration = modelBuilder.GetType().GetProperty("ModelConfiguration", BindingFlags.NonPublic | BindingFlags.Instance).GetValue(modelBuilder, null);

    var entities = modelConfiguration.GetType().GetProperty("Entities", BindingFlags.NonPublic | BindingFlags.Instance).GetValue(modelConfiguration, null) as IEnumerable<Type>;

 

    foreach (var entity in entities)

    {

        var entityTypeConfiguration = modelBuilder.GetType().GetMethod("Entity").MakeGenericMethod(entity).Invoke(modelBuilder, null);

        var mapMethod = entityTypeConfiguration.GetType().GetMethods().First(m => m.Name == "Map");

 

        var localMethod = this.GetType().GetMethod("Map", BindingFlags.Static | BindingFlags.NonPublic).MakeGenericMethod(entity);

        var delegateType = typeof(Action<>).MakeGenericType(localMethod.GetParameters().First().ParameterType);

 

        var del = Delegate.CreateDelegate(delegateType, localMethod);

 

        mapMethod.Invoke(entityTypeConfiguration, new Object[] { del });

    }

 

    base.OnModelCreating(modelBuilder);

}

This code is required because we need to iterate through all mapped entities, and Entity Framework doesn’t expose everything as public APIs. Some parts could be cached for performance or slightly improved, but I leave that as an exercise to you. In the end, all queries to entities will take an additional restriction “WHERE Tenant = @tenant”, where @tenant will take a different value for each tenant and Tenant is a physical column that isn’t mapped, nor does it need to be.

Conclusion

We’ve seen several techniques for mapping multitenant Entity Framework contexts; ultimately, the one we choose will depend on a number of factors. It will mostly be about having more or less isolation of your data.

How to Add or Remove Folders from Favorites in Mail app in Windows 10

Windows 10 comes with a new Mail app. The new Mail app brings improved performance and a familiar three-pane email UI, with a toggle to quickly move between your email and calendar. Mail includes customizable Swipe Gestures, letting you swipe right or left to take actions like delete, flag, move or mark as read/unread. Also check out the new email authoring experience. Mail leverages the familiar and rich capability of Word to that allows you to easily insert tables, add pictures and use bullets and color to your text. The new Mail apps support Office 365, Exchange, Outlook.com, Gmail, IMAP, POP and other popular accounts.

An added account in Mail has folders such as the Inbox, Drafts, Junk, Sent (Sent Items), and Trash (Deleted Items) for your email messages. You can add or remove folders from Favorites under the account name to what you like.

This tutorial will show you how to add or remove folders from Favorites for each account in your Mail app in Windows 10.

Read more…

How to Rename Account in Mail App in Windows 10

Windows 10 comes with a new Mail app. The new Mail app brings improved performance and a familiar three-pane email UI, with a toggle to quickly move between your email and calendar. Mail includes customizable Swipe Gestures, letting you swipe right or left to take actions like delete, flag, move or mark as read/unread. Also check out the new email authoring experience. Mail leverages the familiar and rich capability of Word to that allows you to easily insert tables, add pictures and use bullets and color to your text. The new Mail apps support Office 365, Exchange, Outlook.com, Gmail, IMAP, POP and other popular accounts.

This tutorial will show you how to rename accounts in your Mail app in Windows 10.

Read more…

Windows 10 : Microsoft dévoile les 6 versions de son petit dernier…

Bonsoir tout le monde,

Finalement, ce sont 6 versions qui ont Ă©tĂ© dĂ©voilĂ©es couvrant toute la gamme de produits utilisant un système d’exploitation.
Windows 10 dont on sait qu’il a Ă©tĂ© tĂ©lĂ©chargĂ© par 4 millions d’intĂ©ressĂ©s du programme "Insider Program" sera disponible dès cet Ă©tĂ© pour les OEMs.

Les versions

La plus courante : Windows 10 Home (Familiale) pour les PC familiaux, les tablettes d’une diagonale de 8 pouces et plus ainsi que les terminaux hybrides.

Vient ensuite Windows 10 Mobile pour les terminaux de 8 pouces et moins (Smartphones et tablettes). L’appellation Windows Phone disparaĂ®t pour lui prĂ©fĂ©rer cette de Windows 10 Mobile.
Cette version sera livrĂ©e avec la version d’Office et Continuum.

Windows 10 Pro est destinĂ©e aux PME. Au programme, des fonctions de sĂ©curitĂ© en plus de celles contenues dans la version familiale, l’accès au cloud et des fonctions de gestion de flottes mobiles (dans le cadre de la BYOD).

Windows 10 Enterprise vise les grandes entreprises avec des fonctions encore plus avancées de sécurité et de gestion de flottes.
Il faut savoir que les versions Pro et Enterprise accèderont au nouveau service de mise à jour Windows Update for Business. Les patches de sécurité et de briques fonctionnelles pourront être gérés par les administrateurs.

Windows 10 Mobile Entreprise est la dĂ©clinaison grands comptes de Windows 10 Mobile, afin d’Ă©quiper des smartphones et des tablettes de moins de 8 pouces.

Windows 10 Education est rĂ©servĂ© au monde de l’Ă©ducation (offre de licences en volume…)

Windows 10 gratuit oui, mais pour qui ?

Microsoft a annoncé que la mise à jour vers Windows 10 sera gratuite pour les PC sous Windows 7 et 8.1 MAIS cette gratuité sera valable pour une année seulement.

Les versions Windows 7 Home migreront gratuitement vers Windows 10 Home tandis qu’un PC sous Windows 7 Pro migrera gratuitement vers Windows 10 Pro : pour un an seulement !

A ce jour, Microsoft n’a pas encore dĂ©clarĂ© de politique de migration qui reste Ă  communiquer. Par exemple, l’offre d’une migration gratuite concerne la machine et non le client ayant achetĂ© une licence de Windows 7 ou Windows 8.1. La licence achetĂ©e serait donc valable l’appareil concernĂ© et non rĂ©utilisable.

Wait and see pour plus d’informations sur le sujet…
A ce jour Ă©galement, aucun tarif ne circule Clignement d'Ĺ“il.

Bonne soirée.
Patrice.

How to Add or Delete Accounts in Mail App in Windows 10

Windows 10 comes with a new Mail app. The new Mail app brings improved performance and a familiar three-pane email UI, with a toggle to quickly move between your email and calendar. Mail includes customizable Swipe Gestures, letting you swipe right or left to take actions like delete, flag, move or mark as read/unread. Also check out the new email authoring experience. Mail leverages the familiar and rich capability of Word to that allows you to easily insert tables, add pictures and use bullets and color to your text. The new Mail apps support Office 365, Exchange, Outlook.com, Gmail, IMAP, POP and other popular accounts.

This tutorial will show you how to add or delete email accounts in your Mail app in Windows 10.

Read more…

PowerShell Summit Europe 2015–nearly sold out

There are a handful of places left for the PowerShell Summit Europe 2015. If you want to secure a place I recommend that you book very soon as we can’t extend capacity any further.

Recent Comments

Archives